aws-sdk-codedeploy 1.28.0 → 1.29.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 892dd2629c163f3d8c8fd94112419a89681dcfbf
4
- data.tar.gz: 55e81150f09a8a891ab804cb26d5c58eb084bcf7
2
+ SHA256:
3
+ metadata.gz: b102c13fe7c9a245c6b9766a5ce57993f28b53d7aecaf8e30465f20d7ad2089f
4
+ data.tar.gz: 39e206b2c2230a0eb643274c5ae10ce85a7ff171a6e4ecd412898627171ea926
5
5
  SHA512:
6
- metadata.gz: 157032bcd4b2cf0a7e2b49436f1a1efafa0a37fa3dff41d284c39cfe491dbd5e5334dc893f2e8dd4f5f21cfe2e58b93f6e9688406f8cf67359a0d295a5b76513
7
- data.tar.gz: '039ee71d30756c333545959e14140cb591e830081abeef76c0f9b460e633203247ce1294cf55c1d4bac35d72660abce7f618483116fb6f6e30568ae9e8b07027'
6
+ metadata.gz: 58c4d3af5d18b67517dcb8e6fb9b1a77106e4903b2ee4e2a6cf6e2df9e9e4bbfb795083cab3fe93677d2c3f1cad403c413db1c52cc7899ea09df239f4e0e5c0d
7
+ data.tar.gz: 16c4edd318d7d520a6cc7f1077a3e098a681d0d4cc5f8a5c6993ffd7d906a4adc52608512333cd36a40192b5fae36b0dc0ad396f4ca1cf42d343ec2cfb51f5c5
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-codedeploy/customizations'
46
46
  # @service
47
47
  module Aws::CodeDeploy
48
48
 
49
- GEM_VERSION = '1.28.0'
49
+ GEM_VERSION = '1.29.0'
50
50
 
51
51
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:codedeploy)
32
32
  module Aws::CodeDeploy
33
33
  # An API client for CodeDeploy. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::CodeDeploy::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::CodeDeploy::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -105,7 +105,7 @@ module Aws::CodeDeploy
105
105
  # @option options [required, String] :region
106
106
  # The AWS region to connect to. The configured `:region` is
107
107
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
109
109
  #
110
110
  # * `Aws.config[:region]`
111
111
  # * `ENV['AWS_REGION']`
@@ -161,7 +161,7 @@ module Aws::CodeDeploy
161
161
  # @option options [String] :endpoint
162
162
  # The client endpoint is normally constructed from the `:region`
163
163
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
165
165
  #
166
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -229,15 +229,19 @@ module Aws::CodeDeploy
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -275,8 +279,7 @@ module Aws::CodeDeploy
275
279
  #
276
280
  # @option options [Integer] :http_read_timeout (60) The default
277
281
  # number of seconds to wait for response data. This value can
278
- # safely be set
279
- # per-request on the session yielded by {#session_for}.
282
+ # safely be set per-request on the session.
280
283
  #
281
284
  # @option options [Float] :http_idle_timeout (5) The number of
282
285
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +291,7 @@ module Aws::CodeDeploy
288
291
  # request body. This option has no effect unless the request has
289
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
293
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
294
+ # request on the session.
292
295
  #
293
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
297
  # HTTP debug output will be sent to the `:logger`.
@@ -1810,6 +1813,11 @@ module Aws::CodeDeploy
1810
1813
  # resp.deployment_info.deployment_status_messages[0] #=> String
1811
1814
  # resp.deployment_info.compute_platform #=> String, one of "Server", "Lambda", "ECS"
1812
1815
  #
1816
+ #
1817
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
1818
+ #
1819
+ # * deployment_successful
1820
+ #
1813
1821
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment AWS API Documentation
1814
1822
  #
1815
1823
  # @overload get_deployment(params = {})
@@ -2203,6 +2211,8 @@ module Aws::CodeDeploy
2203
2211
  # * {Types::ListApplicationRevisionsOutput#revisions #revisions} => Array<Types::RevisionLocation>
2204
2212
  # * {Types::ListApplicationRevisionsOutput#next_token #next_token} => String
2205
2213
  #
2214
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2215
+ #
2206
2216
  # @example Request syntax with placeholder values
2207
2217
  #
2208
2218
  # resp = client.list_application_revisions({
@@ -2252,6 +2262,8 @@ module Aws::CodeDeploy
2252
2262
  # * {Types::ListApplicationsOutput#applications #applications} => Array<String>
2253
2263
  # * {Types::ListApplicationsOutput#next_token #next_token} => String
2254
2264
  #
2265
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2266
+ #
2255
2267
  # @example Request syntax with placeholder values
2256
2268
  #
2257
2269
  # resp = client.list_applications({
@@ -2285,6 +2297,8 @@ module Aws::CodeDeploy
2285
2297
  # * {Types::ListDeploymentConfigsOutput#deployment_configs_list #deployment_configs_list} => Array<String>
2286
2298
  # * {Types::ListDeploymentConfigsOutput#next_token #next_token} => String
2287
2299
  #
2300
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2301
+ #
2288
2302
  # @example Request syntax with placeholder values
2289
2303
  #
2290
2304
  # resp = client.list_deployment_configs({
@@ -2324,6 +2338,8 @@ module Aws::CodeDeploy
2324
2338
  # * {Types::ListDeploymentGroupsOutput#deployment_groups #deployment_groups} => Array<String>
2325
2339
  # * {Types::ListDeploymentGroupsOutput#next_token #next_token} => String
2326
2340
  #
2341
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2342
+ #
2327
2343
  # @example Request syntax with placeholder values
2328
2344
  #
2329
2345
  # resp = client.list_deployment_groups({
@@ -2393,6 +2409,8 @@ module Aws::CodeDeploy
2393
2409
  # * {Types::ListDeploymentInstancesOutput#instances_list #instances_list} => Array<String>
2394
2410
  # * {Types::ListDeploymentInstancesOutput#next_token #next_token} => String
2395
2411
  #
2412
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2413
+ #
2396
2414
  # @example Request syntax with placeholder values
2397
2415
  #
2398
2416
  # resp = client.list_deployment_instances({
@@ -2517,6 +2535,8 @@ module Aws::CodeDeploy
2517
2535
  # * {Types::ListDeploymentsOutput#deployments #deployments} => Array<String>
2518
2536
  # * {Types::ListDeploymentsOutput#next_token #next_token} => String
2519
2537
  #
2538
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2539
+ #
2520
2540
  # @example Request syntax with placeholder values
2521
2541
  #
2522
2542
  # resp = client.list_deployments({
@@ -3219,7 +3239,7 @@ module Aws::CodeDeploy
3219
3239
  params: params,
3220
3240
  config: config)
3221
3241
  context[:gem_name] = 'aws-sdk-codedeploy'
3222
- context[:gem_version] = '1.28.0'
3242
+ context[:gem_version] = '1.29.0'
3223
3243
  Seahorse::Client::Request.new(handlers, context)
3224
3244
  end
3225
3245
 
@@ -3285,9 +3305,9 @@ module Aws::CodeDeploy
3285
3305
  # The following table lists the valid waiter names, the operations they call,
3286
3306
  # and the default `:delay` and `:max_attempts` values.
3287
3307
  #
3288
- # | waiter_name | params | :delay | :max_attempts |
3289
- # | --------------------- | ----------------- | -------- | ------------- |
3290
- # | deployment_successful | {#get_deployment} | 15 | 120 |
3308
+ # | waiter_name | params | :delay | :max_attempts |
3309
+ # | --------------------- | ----------------------- | -------- | ------------- |
3310
+ # | deployment_successful | {Client#get_deployment} | 15 | 120 |
3291
3311
  #
3292
3312
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
3293
3313
  # because the waiter has entered a state that it will not transition
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::CodeDeploy
9
- # This class provides a resource oriented interface for CodeDeploy.
10
- # To create a resource object:
11
- # resource = Aws::CodeDeploy::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::CodeDeploy::Client.new(region: 'us-west-2')
15
- # resource = Aws::CodeDeploy::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -8,6 +8,67 @@
8
8
  require 'aws-sdk-core/waiters'
9
9
 
10
10
  module Aws::CodeDeploy
11
+ # Waiters are utility methods that poll for a particular state to occur
12
+ # on a client. Waiters can fail after a number of attempts at a polling
13
+ # interval defined for the service client.
14
+ #
15
+ # For a list of operations that can be waited for and the
16
+ # client methods called for each operation, see the table below or the
17
+ # {Client#wait_until} field documentation for the {Client}.
18
+ #
19
+ # # Invoking a Waiter
20
+ # To invoke a waiter, call #wait_until on a {Client}. The first parameter
21
+ # is the waiter name, which is specific to the service client and indicates
22
+ # which operation is being waited for. The second parameter is a hash of
23
+ # parameters that are passed to the client method called by the waiter,
24
+ # which varies according to the waiter name.
25
+ #
26
+ # # Wait Failures
27
+ # To catch errors in a waiter, use WaiterFailed,
28
+ # as shown in the following example.
29
+ #
30
+ # rescue rescue Aws::Waiters::Errors::WaiterFailed => error
31
+ # puts "failed waiting for instance running: #{error.message}
32
+ # end
33
+ #
34
+ # # Configuring a Waiter
35
+ # Each waiter has a default polling interval and a maximum number of
36
+ # attempts it will make before returning control to your program.
37
+ # To set these values, use the `max_attempts` and `delay` parameters
38
+ # in your `#wait_until` call.
39
+ # The following example waits for up to 25 seconds, polling every five seconds.
40
+ #
41
+ # client.wait_until(...) do |w|
42
+ # w.max_attempts = 5
43
+ # w.delay = 5
44
+ # end
45
+ #
46
+ # To disable wait failures, set the value of either of these parameters
47
+ # to `nil`.
48
+ #
49
+ # # Extending a Waiter
50
+ # To modify the behavior of waiters, you can register callbacks that are
51
+ # triggered before each polling attempt and before waiting.
52
+ #
53
+ # The following example implements an exponential backoff in a waiter
54
+ # by doubling the amount of time to wait on every attempt.
55
+ #
56
+ # client.wait_until(...) do |w|
57
+ # w.interval = 0 # disable normal sleep
58
+ # w.before_wait do |n, resp|
59
+ # sleep(n ** 2)
60
+ # end
61
+ # end
62
+ #
63
+ # # Available Waiters
64
+ #
65
+ # The following table lists the valid waiter names, the operations they call,
66
+ # and the default `:delay` and `:max_attempts` values.
67
+ #
68
+ # | waiter_name | params | :delay | :max_attempts |
69
+ # | --------------------- | ----------------------- | -------- | ------------- |
70
+ # | deployment_successful | {Client#get_deployment} | 15 | 120 |
71
+ #
11
72
  module Waiters
12
73
 
13
74
  class DeploymentSuccessful
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codedeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.29.0
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: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  requirements: []
84
84
  rubyforge_project:
85
- rubygems_version: 2.5.2.3
85
+ rubygems_version: 2.7.6.2
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: AWS SDK for Ruby - CodeDeploy