aws-sdk-s3 1.0.0.rc2 → 1.0.0.rc3

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.
@@ -1,178 +1,177 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  require 'aws-sdk-core/waiters'
9
9
 
10
- module Aws
11
- module S3
12
- module Waiters
13
- class BucketExists
14
-
15
- # @param [Hash] options
16
- # @option options [required, Client] :client
17
- # @option options [Integer] :max_attempts (20)
18
- # @option options [Integer] :delay (5)
19
- # @option options [Proc] :before_attempt
20
- # @option options [Proc] :before_wait
21
- def initialize(options)
22
- @client = options.fetch(:client)
23
- @waiter = Aws::Waiters::Waiter.new({
24
- max_attempts: 20,
25
- delay: 5,
26
- poller: Aws::Waiters::Poller.new(
27
- operation_name: :head_bucket,
28
- acceptors: [
29
- {
30
- "expected" => 200,
31
- "matcher" => "status",
32
- "state" => "success"
33
- },
34
- {
35
- "expected" => 301,
36
- "matcher" => "status",
37
- "state" => "success"
38
- },
39
- {
40
- "expected" => 403,
41
- "matcher" => "status",
42
- "state" => "success"
43
- },
44
- {
45
- "expected" => 404,
46
- "matcher" => "status",
47
- "state" => "retry"
48
- }
49
- ]
50
- )
51
- }.merge(options))
52
- end
53
-
54
- # @option (see Client#head_bucket)
55
- # @return (see Client#head_bucket)
56
- def wait(params = {})
57
- @waiter.wait(client: @client, params: params)
58
- end
59
-
60
- # @api private
61
- attr_reader :waiter
10
+ module Aws::S3
11
+ module Waiters
12
+
13
+ class BucketExists
14
+
15
+ # @param [Hash] options
16
+ # @option options [required, Client] :client
17
+ # @option options [Integer] :max_attempts (20)
18
+ # @option options [Integer] :delay (5)
19
+ # @option options [Proc] :before_attempt
20
+ # @option options [Proc] :before_wait
21
+ def initialize(options)
22
+ @client = options.fetch(:client)
23
+ @waiter = Aws::Waiters::Waiter.new({
24
+ max_attempts: 20,
25
+ delay: 5,
26
+ poller: Aws::Waiters::Poller.new(
27
+ operation_name: :head_bucket,
28
+ acceptors: [
29
+ {
30
+ "expected" => 200,
31
+ "matcher" => "status",
32
+ "state" => "success"
33
+ },
34
+ {
35
+ "expected" => 301,
36
+ "matcher" => "status",
37
+ "state" => "success"
38
+ },
39
+ {
40
+ "expected" => 403,
41
+ "matcher" => "status",
42
+ "state" => "success"
43
+ },
44
+ {
45
+ "expected" => 404,
46
+ "matcher" => "status",
47
+ "state" => "retry"
48
+ }
49
+ ]
50
+ )
51
+ }.merge(options))
52
+ end
62
53
 
54
+ # @option (see Client#head_bucket)
55
+ # @return (see Client#head_bucket)
56
+ def wait(params = {})
57
+ @waiter.wait(client: @client, params: params)
63
58
  end
64
59
 
65
- class BucketNotExists
66
-
67
- # @param [Hash] options
68
- # @option options [required, Client] :client
69
- # @option options [Integer] :max_attempts (20)
70
- # @option options [Integer] :delay (5)
71
- # @option options [Proc] :before_attempt
72
- # @option options [Proc] :before_wait
73
- def initialize(options)
74
- @client = options.fetch(:client)
75
- @waiter = Aws::Waiters::Waiter.new({
76
- max_attempts: 20,
77
- delay: 5,
78
- poller: Aws::Waiters::Poller.new(
79
- operation_name: :head_bucket,
80
- acceptors: [{
81
- "expected" => 404,
82
- "matcher" => "status",
83
- "state" => "success"
84
- }]
85
- )
86
- }.merge(options))
87
- end
60
+ # @api private
61
+ attr_reader :waiter
88
62
 
89
- # @option (see Client#head_bucket)
90
- # @return (see Client#head_bucket)
91
- def wait(params = {})
92
- @waiter.wait(client: @client, params: params)
93
- end
63
+ end
94
64
 
95
- # @api private
96
- attr_reader :waiter
65
+ class BucketNotExists
66
+
67
+ # @param [Hash] options
68
+ # @option options [required, Client] :client
69
+ # @option options [Integer] :max_attempts (20)
70
+ # @option options [Integer] :delay (5)
71
+ # @option options [Proc] :before_attempt
72
+ # @option options [Proc] :before_wait
73
+ def initialize(options)
74
+ @client = options.fetch(:client)
75
+ @waiter = Aws::Waiters::Waiter.new({
76
+ max_attempts: 20,
77
+ delay: 5,
78
+ poller: Aws::Waiters::Poller.new(
79
+ operation_name: :head_bucket,
80
+ acceptors: [{
81
+ "expected" => 404,
82
+ "matcher" => "status",
83
+ "state" => "success"
84
+ }]
85
+ )
86
+ }.merge(options))
87
+ end
97
88
 
89
+ # @option (see Client#head_bucket)
90
+ # @return (see Client#head_bucket)
91
+ def wait(params = {})
92
+ @waiter.wait(client: @client, params: params)
98
93
  end
99
94
 
100
- class ObjectExists
101
-
102
- # @param [Hash] options
103
- # @option options [required, Client] :client
104
- # @option options [Integer] :max_attempts (20)
105
- # @option options [Integer] :delay (5)
106
- # @option options [Proc] :before_attempt
107
- # @option options [Proc] :before_wait
108
- def initialize(options)
109
- @client = options.fetch(:client)
110
- @waiter = Aws::Waiters::Waiter.new({
111
- max_attempts: 20,
112
- delay: 5,
113
- poller: Aws::Waiters::Poller.new(
114
- operation_name: :head_object,
115
- acceptors: [
116
- {
117
- "expected" => 200,
118
- "matcher" => "status",
119
- "state" => "success"
120
- },
121
- {
122
- "expected" => 404,
123
- "matcher" => "status",
124
- "state" => "retry"
125
- }
126
- ]
127
- )
128
- }.merge(options))
129
- end
130
-
131
- # @option (see Client#head_object)
132
- # @return (see Client#head_object)
133
- def wait(params = {})
134
- @waiter.wait(client: @client, params: params)
135
- end
136
-
137
- # @api private
138
- attr_reader :waiter
95
+ # @api private
96
+ attr_reader :waiter
139
97
 
140
- end
98
+ end
141
99
 
142
- class ObjectNotExists
143
-
144
- # @param [Hash] options
145
- # @option options [required, Client] :client
146
- # @option options [Integer] :max_attempts (20)
147
- # @option options [Integer] :delay (5)
148
- # @option options [Proc] :before_attempt
149
- # @option options [Proc] :before_wait
150
- def initialize(options)
151
- @client = options.fetch(:client)
152
- @waiter = Aws::Waiters::Waiter.new({
153
- max_attempts: 20,
154
- delay: 5,
155
- poller: Aws::Waiters::Poller.new(
156
- operation_name: :head_object,
157
- acceptors: [{
158
- "expected" => 404,
100
+ class ObjectExists
101
+
102
+ # @param [Hash] options
103
+ # @option options [required, Client] :client
104
+ # @option options [Integer] :max_attempts (20)
105
+ # @option options [Integer] :delay (5)
106
+ # @option options [Proc] :before_attempt
107
+ # @option options [Proc] :before_wait
108
+ def initialize(options)
109
+ @client = options.fetch(:client)
110
+ @waiter = Aws::Waiters::Waiter.new({
111
+ max_attempts: 20,
112
+ delay: 5,
113
+ poller: Aws::Waiters::Poller.new(
114
+ operation_name: :head_object,
115
+ acceptors: [
116
+ {
117
+ "expected" => 200,
159
118
  "matcher" => "status",
160
119
  "state" => "success"
161
- }]
162
- )
163
- }.merge(options))
164
- end
120
+ },
121
+ {
122
+ "expected" => 404,
123
+ "matcher" => "status",
124
+ "state" => "retry"
125
+ }
126
+ ]
127
+ )
128
+ }.merge(options))
129
+ end
165
130
 
166
- # @option (see Client#head_object)
167
- # @return (see Client#head_object)
168
- def wait(params = {})
169
- @waiter.wait(client: @client, params: params)
170
- end
131
+ # @option (see Client#head_object)
132
+ # @return (see Client#head_object)
133
+ def wait(params = {})
134
+ @waiter.wait(client: @client, params: params)
135
+ end
171
136
 
172
- # @api private
173
- attr_reader :waiter
137
+ # @api private
138
+ attr_reader :waiter
174
139
 
140
+ end
141
+
142
+ class ObjectNotExists
143
+
144
+ # @param [Hash] options
145
+ # @option options [required, Client] :client
146
+ # @option options [Integer] :max_attempts (20)
147
+ # @option options [Integer] :delay (5)
148
+ # @option options [Proc] :before_attempt
149
+ # @option options [Proc] :before_wait
150
+ def initialize(options)
151
+ @client = options.fetch(:client)
152
+ @waiter = Aws::Waiters::Waiter.new({
153
+ max_attempts: 20,
154
+ delay: 5,
155
+ poller: Aws::Waiters::Poller.new(
156
+ operation_name: :head_object,
157
+ acceptors: [{
158
+ "expected" => 404,
159
+ "matcher" => "status",
160
+ "state" => "success"
161
+ }]
162
+ )
163
+ }.merge(options))
164
+ end
165
+
166
+ # @option (see Client#head_object)
167
+ # @return (see Client#head_object)
168
+ def wait(params = {})
169
+ @waiter.wait(client: @client, params: params)
175
170
  end
171
+
172
+ # @api private
173
+ attr_reader :waiter
174
+
176
175
  end
177
176
  end
178
177
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc2
4
+ version: 1.0.0.rc3
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: 2016-12-10 00:00:00.000000000 Z
11
+ date: 2017-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.0.rc1
33
+ version: 1.0.0.rc3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 1.0.0.rc1
40
+ version: 1.0.0.rc3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: aws-sigv4
43
43
  requirement: !ruby/object:Gem::Requirement