aws-sdk-s3 1.61.1 → 1.61.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 554b78dd64434c021c596a24d1f273e25ec603fba1c4391abe0a165bfa1ad620
4
- data.tar.gz: 5316c7bae24327364e52732774aa8e52cef2f22dd35205d3135fbd1525962af1
2
+ SHA1:
3
+ metadata.gz: 78cdfcf48bd51a03dbd3c59b32b1911ed9a1e1d9
4
+ data.tar.gz: c4e92d45fc239636c237fb1acad005ecc9162763
5
5
  SHA512:
6
- metadata.gz: b8ec960d635d760cf22739c108e27a757f94001e0f4f5f54a1c207dad940660f20ab85f910381a46c5165100eccebc95c9a283ed46477c14829e101389cdc8b6
7
- data.tar.gz: b00e11ea37a01ba001edad695b7ed732f3e66a4bb8a5449d5fa59d8002ec35b076f762f451880f22b6b69c9fee1911cae866b6a685b2319c1bcf40de3afe0046
6
+ metadata.gz: 5d25ecae5a1d929778c7040a5f18572b6f4562d16be623de24eba1e67630370859f44973238d0e206bab3682918ec0b2d9864328511168067179424095418bcd
7
+ data.tar.gz: 3438b81790a35d71c15e025620ec8104f803239bb050db632eccf8d288f2360b2f25a0fcbd5a9c77b3372629f12907dee37d17c4d7a11f99c1d43710f0d0ddcd
@@ -66,6 +66,6 @@ require_relative 'aws-sdk-s3/event_streams'
66
66
  # @service
67
67
  module Aws::S3
68
68
 
69
- GEM_VERSION = '1.61.1'
69
+ GEM_VERSION = '1.61.2'
70
70
 
71
71
  end
@@ -121,7 +121,8 @@ module Aws::S3
121
121
  # Waiter polls an API operation until a resource enters a desired
122
122
  # state.
123
123
  #
124
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
124
+ # @note The waiting operation is performed on a copy. The original resource
125
+ # remains unchanged.
125
126
  #
126
127
  # ## Basic Usage
127
128
  #
@@ -134,13 +135,15 @@ module Aws::S3
134
135
  #
135
136
  # ## Example
136
137
  #
137
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
138
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
139
+ # instance.state.name == 'running'
140
+ # end
138
141
  #
139
142
  # ## Configuration
140
143
  #
141
144
  # You can configure the maximum number of polling attempts, and the
142
- # delay (in seconds) between each polling attempt. The waiting condition is set
143
- # by passing a block to {#wait_until}:
145
+ # delay (in seconds) between each polling attempt. The waiting condition is
146
+ # set by passing a block to {#wait_until}:
144
147
  #
145
148
  # # poll for ~25 seconds
146
149
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -171,17 +174,16 @@ module Aws::S3
171
174
  # # resource did not enter the desired state in time
172
175
  # end
173
176
  #
177
+ # @yieldparam [Resource] resource to be used in the waiting condition.
174
178
  #
175
- # @yield param [Resource] resource to be used in the waiting condition
176
- #
177
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
178
- # because the waiter has entered a state that it will not transition
179
- # out of, preventing success.
179
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
180
+ # terminates because the waiter has entered a state that it will not
181
+ # transition out of, preventing success.
180
182
  #
181
183
  # yet successful.
182
184
  #
183
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
184
- # while polling for a resource that is not expected.
185
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
186
+ # encountered while polling for a resource that is not expected.
185
187
  #
186
188
  # @raise [NotImplementedError] Raised when the resource does not
187
189
  #
@@ -836,7 +838,9 @@ module Aws::S3
836
838
  end
837
839
 
838
840
  def separate_params_and_options(options)
839
- opts = Set.new([:client, :max_attempts, :delay, :before_attempt, :before_wait])
841
+ opts = Set.new(
842
+ [:client, :max_attempts, :delay, :before_attempt, :before_wait]
843
+ )
840
844
  waiter_opts = {}
841
845
  waiter_params = {}
842
846
  options.each_pair do |key, value|
@@ -84,7 +84,8 @@ module Aws::S3
84
84
  # Waiter polls an API operation until a resource enters a desired
85
85
  # state.
86
86
  #
87
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
87
+ # @note The waiting operation is performed on a copy. The original resource
88
+ # remains unchanged.
88
89
  #
89
90
  # ## Basic Usage
90
91
  #
@@ -97,13 +98,15 @@ module Aws::S3
97
98
  #
98
99
  # ## Example
99
100
  #
100
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
101
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
102
+ # instance.state.name == 'running'
103
+ # end
101
104
  #
102
105
  # ## Configuration
103
106
  #
104
107
  # You can configure the maximum number of polling attempts, and the
105
- # delay (in seconds) between each polling attempt. The waiting condition is set
106
- # by passing a block to {#wait_until}:
108
+ # delay (in seconds) between each polling attempt. The waiting condition is
109
+ # set by passing a block to {#wait_until}:
107
110
  #
108
111
  # # poll for ~25 seconds
109
112
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -134,17 +137,16 @@ module Aws::S3
134
137
  # # resource did not enter the desired state in time
135
138
  # end
136
139
  #
140
+ # @yieldparam [Resource] resource to be used in the waiting condition.
137
141
  #
138
- # @yield param [Resource] resource to be used in the waiting condition
139
- #
140
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
141
- # because the waiter has entered a state that it will not transition
142
- # out of, preventing success.
142
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
143
+ # terminates because the waiter has entered a state that it will not
144
+ # transition out of, preventing success.
143
145
  #
144
146
  # yet successful.
145
147
  #
146
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
147
- # while polling for a resource that is not expected.
148
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
149
+ # encountered while polling for a resource that is not expected.
148
150
  #
149
151
  # @raise [NotImplementedError] Raised when the resource does not
150
152
  #
@@ -79,7 +79,8 @@ module Aws::S3
79
79
  # Waiter polls an API operation until a resource enters a desired
80
80
  # state.
81
81
  #
82
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
82
+ # @note The waiting operation is performed on a copy. The original resource
83
+ # remains unchanged.
83
84
  #
84
85
  # ## Basic Usage
85
86
  #
@@ -92,13 +93,15 @@ module Aws::S3
92
93
  #
93
94
  # ## Example
94
95
  #
95
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
96
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
97
+ # instance.state.name == 'running'
98
+ # end
96
99
  #
97
100
  # ## Configuration
98
101
  #
99
102
  # You can configure the maximum number of polling attempts, and the
100
- # delay (in seconds) between each polling attempt. The waiting condition is set
101
- # by passing a block to {#wait_until}:
103
+ # delay (in seconds) between each polling attempt. The waiting condition is
104
+ # set by passing a block to {#wait_until}:
102
105
  #
103
106
  # # poll for ~25 seconds
104
107
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -129,17 +132,16 @@ module Aws::S3
129
132
  # # resource did not enter the desired state in time
130
133
  # end
131
134
  #
135
+ # @yieldparam [Resource] resource to be used in the waiting condition.
132
136
  #
133
- # @yield param [Resource] resource to be used in the waiting condition
134
- #
135
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
136
- # because the waiter has entered a state that it will not transition
137
- # out of, preventing success.
137
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
138
+ # terminates because the waiter has entered a state that it will not
139
+ # transition out of, preventing success.
138
140
  #
139
141
  # yet successful.
140
142
  #
141
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
142
- # while polling for a resource that is not expected.
143
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
144
+ # encountered while polling for a resource that is not expected.
143
145
  #
144
146
  # @raise [NotImplementedError] Raised when the resource does not
145
147
  #
@@ -78,7 +78,8 @@ module Aws::S3
78
78
  # Waiter polls an API operation until a resource enters a desired
79
79
  # state.
80
80
  #
81
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
81
+ # @note The waiting operation is performed on a copy. The original resource
82
+ # remains unchanged.
82
83
  #
83
84
  # ## Basic Usage
84
85
  #
@@ -91,13 +92,15 @@ module Aws::S3
91
92
  #
92
93
  # ## Example
93
94
  #
94
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
95
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
96
+ # instance.state.name == 'running'
97
+ # end
95
98
  #
96
99
  # ## Configuration
97
100
  #
98
101
  # You can configure the maximum number of polling attempts, and the
99
- # delay (in seconds) between each polling attempt. The waiting condition is set
100
- # by passing a block to {#wait_until}:
102
+ # delay (in seconds) between each polling attempt. The waiting condition is
103
+ # set by passing a block to {#wait_until}:
101
104
  #
102
105
  # # poll for ~25 seconds
103
106
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -128,17 +131,16 @@ module Aws::S3
128
131
  # # resource did not enter the desired state in time
129
132
  # end
130
133
  #
134
+ # @yieldparam [Resource] resource to be used in the waiting condition.
131
135
  #
132
- # @yield param [Resource] resource to be used in the waiting condition
133
- #
134
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
135
- # because the waiter has entered a state that it will not transition
136
- # out of, preventing success.
136
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
137
+ # terminates because the waiter has entered a state that it will not
138
+ # transition out of, preventing success.
137
139
  #
138
140
  # yet successful.
139
141
  #
140
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
141
- # while polling for a resource that is not expected.
142
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
143
+ # encountered while polling for a resource that is not expected.
142
144
  #
143
145
  # @raise [NotImplementedError] Raised when the resource does not
144
146
  #
@@ -78,7 +78,8 @@ module Aws::S3
78
78
  # Waiter polls an API operation until a resource enters a desired
79
79
  # state.
80
80
  #
81
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
81
+ # @note The waiting operation is performed on a copy. The original resource
82
+ # remains unchanged.
82
83
  #
83
84
  # ## Basic Usage
84
85
  #
@@ -91,13 +92,15 @@ module Aws::S3
91
92
  #
92
93
  # ## Example
93
94
  #
94
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
95
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
96
+ # instance.state.name == 'running'
97
+ # end
95
98
  #
96
99
  # ## Configuration
97
100
  #
98
101
  # You can configure the maximum number of polling attempts, and the
99
- # delay (in seconds) between each polling attempt. The waiting condition is set
100
- # by passing a block to {#wait_until}:
102
+ # delay (in seconds) between each polling attempt. The waiting condition is
103
+ # set by passing a block to {#wait_until}:
101
104
  #
102
105
  # # poll for ~25 seconds
103
106
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -128,17 +131,16 @@ module Aws::S3
128
131
  # # resource did not enter the desired state in time
129
132
  # end
130
133
  #
134
+ # @yieldparam [Resource] resource to be used in the waiting condition.
131
135
  #
132
- # @yield param [Resource] resource to be used in the waiting condition
133
- #
134
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
135
- # because the waiter has entered a state that it will not transition
136
- # out of, preventing success.
136
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
137
+ # terminates because the waiter has entered a state that it will not
138
+ # transition out of, preventing success.
137
139
  #
138
140
  # yet successful.
139
141
  #
140
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
141
- # while polling for a resource that is not expected.
142
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
143
+ # encountered while polling for a resource that is not expected.
142
144
  #
143
145
  # @raise [NotImplementedError] Raised when the resource does not
144
146
  #
@@ -85,7 +85,8 @@ module Aws::S3
85
85
  # Waiter polls an API operation until a resource enters a desired
86
86
  # state.
87
87
  #
88
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
88
+ # @note The waiting operation is performed on a copy. The original resource
89
+ # remains unchanged.
89
90
  #
90
91
  # ## Basic Usage
91
92
  #
@@ -98,13 +99,15 @@ module Aws::S3
98
99
  #
99
100
  # ## Example
100
101
  #
101
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
102
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
103
+ # instance.state.name == 'running'
104
+ # end
102
105
  #
103
106
  # ## Configuration
104
107
  #
105
108
  # You can configure the maximum number of polling attempts, and the
106
- # delay (in seconds) between each polling attempt. The waiting condition is set
107
- # by passing a block to {#wait_until}:
109
+ # delay (in seconds) between each polling attempt. The waiting condition is
110
+ # set by passing a block to {#wait_until}:
108
111
  #
109
112
  # # poll for ~25 seconds
110
113
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -135,17 +138,16 @@ module Aws::S3
135
138
  # # resource did not enter the desired state in time
136
139
  # end
137
140
  #
141
+ # @yieldparam [Resource] resource to be used in the waiting condition.
138
142
  #
139
- # @yield param [Resource] resource to be used in the waiting condition
140
- #
141
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
142
- # because the waiter has entered a state that it will not transition
143
- # out of, preventing success.
143
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
144
+ # terminates because the waiter has entered a state that it will not
145
+ # transition out of, preventing success.
144
146
  #
145
147
  # yet successful.
146
148
  #
147
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
148
- # while polling for a resource that is not expected.
149
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
150
+ # encountered while polling for a resource that is not expected.
149
151
  #
150
152
  # @raise [NotImplementedError] Raised when the resource does not
151
153
  #
@@ -93,7 +93,8 @@ module Aws::S3
93
93
  # Waiter polls an API operation until a resource enters a desired
94
94
  # state.
95
95
  #
96
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
96
+ # @note The waiting operation is performed on a copy. The original resource
97
+ # remains unchanged.
97
98
  #
98
99
  # ## Basic Usage
99
100
  #
@@ -106,13 +107,15 @@ module Aws::S3
106
107
  #
107
108
  # ## Example
108
109
  #
109
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
110
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
111
+ # instance.state.name == 'running'
112
+ # end
110
113
  #
111
114
  # ## Configuration
112
115
  #
113
116
  # You can configure the maximum number of polling attempts, and the
114
- # delay (in seconds) between each polling attempt. The waiting condition is set
115
- # by passing a block to {#wait_until}:
117
+ # delay (in seconds) between each polling attempt. The waiting condition is
118
+ # set by passing a block to {#wait_until}:
116
119
  #
117
120
  # # poll for ~25 seconds
118
121
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -143,17 +146,16 @@ module Aws::S3
143
146
  # # resource did not enter the desired state in time
144
147
  # end
145
148
  #
149
+ # @yieldparam [Resource] resource to be used in the waiting condition.
146
150
  #
147
- # @yield param [Resource] resource to be used in the waiting condition
148
- #
149
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
150
- # because the waiter has entered a state that it will not transition
151
- # out of, preventing success.
151
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
152
+ # terminates because the waiter has entered a state that it will not
153
+ # transition out of, preventing success.
152
154
  #
153
155
  # yet successful.
154
156
  #
155
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
156
- # while polling for a resource that is not expected.
157
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
158
+ # encountered while polling for a resource that is not expected.
157
159
  #
158
160
  # @raise [NotImplementedError] Raised when the resource does not
159
161
  #
@@ -78,7 +78,8 @@ module Aws::S3
78
78
  # Waiter polls an API operation until a resource enters a desired
79
79
  # state.
80
80
  #
81
- # @note The waiting operation is performed on a copy. The original resource remains unchanged
81
+ # @note The waiting operation is performed on a copy. The original resource
82
+ # remains unchanged.
82
83
  #
83
84
  # ## Basic Usage
84
85
  #
@@ -91,13 +92,15 @@ module Aws::S3
91
92
  #
92
93
  # ## Example
93
94
  #
94
- # instance.wait_until(max_attempts:10, delay:5) {|instance| instance.state.name == 'running' }
95
+ # instance.wait_until(max_attempts:10, delay:5) do |instance|
96
+ # instance.state.name == 'running'
97
+ # end
95
98
  #
96
99
  # ## Configuration
97
100
  #
98
101
  # You can configure the maximum number of polling attempts, and the
99
- # delay (in seconds) between each polling attempt. The waiting condition is set
100
- # by passing a block to {#wait_until}:
102
+ # delay (in seconds) between each polling attempt. The waiting condition is
103
+ # set by passing a block to {#wait_until}:
101
104
  #
102
105
  # # poll for ~25 seconds
103
106
  # resource.wait_until(max_attempts:5,delay:5) {|resource|...}
@@ -128,17 +131,16 @@ module Aws::S3
128
131
  # # resource did not enter the desired state in time
129
132
  # end
130
133
  #
134
+ # @yieldparam [Resource] resource to be used in the waiting condition.
131
135
  #
132
- # @yield param [Resource] resource to be used in the waiting condition
133
- #
134
- # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter terminates
135
- # because the waiter has entered a state that it will not transition
136
- # out of, preventing success.
136
+ # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
137
+ # terminates because the waiter has entered a state that it will not
138
+ # transition out of, preventing success.
137
139
  #
138
140
  # yet successful.
139
141
  #
140
- # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is encountered
141
- # while polling for a resource that is not expected.
142
+ # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
143
+ # encountered while polling for a resource that is not expected.
142
144
  #
143
145
  # @raise [NotImplementedError] Raised when the resource does not
144
146
  #