aws-sdk-cloudfront 1.113.0 → 1.115.0

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.
@@ -67,11 +67,12 @@ module Aws::CloudFront
67
67
  # The following table lists the valid waiter names, the operations they call,
68
68
  # and the default `:delay` and `:max_attempts` values.
69
69
  #
70
- # | waiter_name | params | :delay | :max_attempts |
71
- # | ------------------------------- | ----------------------------------- | -------- | ------------- |
72
- # | distribution_deployed | {Client#get_distribution} | 60 | 35 |
73
- # | invalidation_completed | {Client#get_invalidation} | 20 | 30 |
74
- # | streaming_distribution_deployed | {Client#get_streaming_distribution} | 60 | 25 |
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | ---------------------------------------------- | ------------------------------------------------- | -------- | ------------- |
72
+ # | distribution_deployed | {Client#get_distribution} | 60 | 35 |
73
+ # | invalidation_completed | {Client#get_invalidation} | 20 | 30 |
74
+ # | invalidation_for_distribution_tenant_completed | {Client#get_invalidation_for_distribution_tenant} | 20 | 30 |
75
+ # | streaming_distribution_deployed | {Client#get_streaming_distribution} | 60 | 25 |
75
76
  #
76
77
  module Waiters
77
78
 
@@ -149,6 +150,43 @@ module Aws::CloudFront
149
150
 
150
151
  end
151
152
 
153
+ # Wait until an invalidation for distribution tenant has completed.
154
+ class InvalidationForDistributionTenantCompleted
155
+
156
+ # @param [Hash] options
157
+ # @option options [required, Client] :client
158
+ # @option options [Integer] :max_attempts (30)
159
+ # @option options [Integer] :delay (20)
160
+ # @option options [Proc] :before_attempt
161
+ # @option options [Proc] :before_wait
162
+ def initialize(options)
163
+ @client = options.fetch(:client)
164
+ @waiter = Aws::Waiters::Waiter.new({
165
+ max_attempts: 30,
166
+ delay: 20,
167
+ poller: Aws::Waiters::Poller.new(
168
+ operation_name: :get_invalidation_for_distribution_tenant,
169
+ acceptors: [{
170
+ "matcher" => "path",
171
+ "argument" => "invalidation.status",
172
+ "state" => "success",
173
+ "expected" => "Completed"
174
+ }]
175
+ )
176
+ }.merge(options))
177
+ end
178
+
179
+ # @option (see Client#get_invalidation_for_distribution_tenant)
180
+ # @return (see Client#get_invalidation_for_distribution_tenant)
181
+ def wait(params = {})
182
+ @waiter.wait(client: @client, params: params)
183
+ end
184
+
185
+ # @api private
186
+ attr_reader :waiter
187
+
188
+ end
189
+
152
190
  # Wait until a streaming distribution is deployed.
153
191
  class StreamingDistributionDeployed
154
192
 
@@ -55,7 +55,7 @@ module Aws::CloudFront
55
55
  autoload :EndpointProvider, 'aws-sdk-cloudfront/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-cloudfront/endpoints'
57
57
 
58
- GEM_VERSION = '1.113.0'
58
+ GEM_VERSION = '1.115.0'
59
59
 
60
60
  end
61
61