aws-sdk-opsworkscm 1.30.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-opsworkscm.rb +1 -1
- data/lib/aws-sdk-opsworkscm/client.rb +56 -50
- data/lib/aws-sdk-opsworkscm/resource.rb +1 -7
- data/lib/aws-sdk-opsworkscm/types.rb +32 -30
- data/lib/aws-sdk-opsworkscm/waiters.rb +61 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cbfb0e190f1b8d607f6d1cdceb226c72a78abe0
|
4
|
+
data.tar.gz: 479f99ae221b1553cfb5fc6509843aebc11b5df7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96406c6d3b3259b462d26f0597d52359eb05001903fd23a8fe2e38f9285ef8d9ad10245d86c37ef68bf67d090333686f15af5c5e3d8ef275b488265c0920177c
|
7
|
+
data.tar.gz: 93fe7fa98a008481780feb608b5ed04933fb9aa9b4fa64f7839759a8e4afbf0d82532cb01a8d5457609f52a397bc9e2000408ad1dedda54fc18eb6e971cfc5f9
|
data/lib/aws-sdk-opsworkscm.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:opsworkscm)
|
|
32
32
|
module Aws::OpsWorksCM
|
33
33
|
# An API client for OpsWorksCM. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::OpsWorksCM::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).
|
@@ -229,15 +229,19 @@ module Aws::OpsWorksCM
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
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::OpsWorksCM
|
|
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::OpsWorksCM
|
|
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
|
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`.
|
@@ -535,22 +538,21 @@ module Aws::OpsWorksCM
|
|
535
538
|
# Valid values are `true` or `false`. The default value is `true`.
|
536
539
|
#
|
537
540
|
# @option params [String] :custom_domain
|
538
|
-
#
|
539
|
-
#
|
540
|
-
#
|
541
|
-
#
|
542
|
-
# the
|
543
|
-
#
|
544
|
-
#
|
545
|
-
#
|
546
|
-
# `CustomCertificate` and `CustomPrivateKey`.
|
541
|
+
# An optional public endpoint of a server, such as
|
542
|
+
# `https://aws.my-company.com`. To access the server, create a CNAME DNS
|
543
|
+
# record in your preferred DNS service that points the custom domain to
|
544
|
+
# the endpoint that is generated when the server is created (the value
|
545
|
+
# of the CreateServer Endpoint attribute). You cannot access the server
|
546
|
+
# by using the generated `Endpoint` value if the server is using a
|
547
|
+
# custom domain. If you specify a custom domain, you must also specify
|
548
|
+
# values for `CustomCertificate` and `CustomPrivateKey`.
|
547
549
|
#
|
548
550
|
# @option params [String] :custom_certificate
|
549
|
-
#
|
550
|
-
# certificate
|
551
|
-
#
|
552
|
-
#
|
553
|
-
#
|
551
|
+
# A PEM-formatted HTTPS certificate. The value can be be a single,
|
552
|
+
# self-signed certificate, or a certificate chain. If you specify a
|
553
|
+
# custom certificate, you must also specify values for `CustomDomain`
|
554
|
+
# and `CustomPrivateKey`. The following are requirements for the
|
555
|
+
# `CustomCertificate` value:
|
554
556
|
#
|
555
557
|
# * You can provide either a self-signed, custom certificate, or the
|
556
558
|
# full certificate chain.
|
@@ -569,11 +571,10 @@ module Aws::OpsWorksCM
|
|
569
571
|
# * The certificate must match the value of `CustomPrivateKey`.
|
570
572
|
#
|
571
573
|
# @option params [String] :custom_private_key
|
572
|
-
#
|
573
|
-
#
|
574
|
-
#
|
575
|
-
#
|
576
|
-
# values for `CustomDomain` and `CustomCertificate`.
|
574
|
+
# A private key in PEM format for connecting to the server by using
|
575
|
+
# HTTPS. The private key must not be encrypted; it cannot be protected
|
576
|
+
# by a password or passphrase. If you specify a custom private key, you
|
577
|
+
# must also specify values for `CustomDomain` and `CustomCertificate`.
|
577
578
|
#
|
578
579
|
# @option params [Boolean] :disable_automated_backup
|
579
580
|
# Enable or disable scheduled backups. Valid values are `true` or
|
@@ -589,8 +590,8 @@ module Aws::OpsWorksCM
|
|
589
590
|
#
|
590
591
|
# @option params [String] :engine_version
|
591
592
|
# The major release version of the engine that you want to use. For a
|
592
|
-
# Chef server, the valid value for EngineVersion is currently `
|
593
|
-
#
|
593
|
+
# Chef server, the valid value for EngineVersion is currently `2`. For a
|
594
|
+
# Puppet server, the valid value is `2017`.
|
594
595
|
#
|
595
596
|
# @option params [Array<Types::EngineAttribute>] :engine_attributes
|
596
597
|
# Optional engine attributes on a specified server.
|
@@ -656,10 +657,10 @@ module Aws::OpsWorksCM
|
|
656
657
|
# @option params [String] :preferred_maintenance_window
|
657
658
|
# The start time for a one-hour period each week during which AWS
|
658
659
|
# OpsWorks CM performs maintenance on the instance. Valid values must be
|
659
|
-
# specified in the following format: `DDD:HH:MM`.
|
660
|
-
# in coordinated universal time (UTC).
|
661
|
-
# one-hour period on Tuesday, Wednesday,
|
662
|
-
# `TimeWindowDefinition` for more information.
|
660
|
+
# specified in the following format: `DDD:HH:MM`. `MM` must be specified
|
661
|
+
# as `00`. The specified time is in coordinated universal time (UTC).
|
662
|
+
# The default value is a random one-hour period on Tuesday, Wednesday,
|
663
|
+
# or Friday. See `TimeWindowDefinition` for more information.
|
663
664
|
#
|
664
665
|
# **Example:** `Mon:08:00`, which represents a start time of every
|
665
666
|
# Monday at 08:00 UTC. (8:00 a.m.)
|
@@ -674,8 +675,8 @@ module Aws::OpsWorksCM
|
|
674
675
|
#
|
675
676
|
# * `DDD:HH:MM` for weekly backups
|
676
677
|
#
|
677
|
-
# The specified time is in coordinated
|
678
|
-
# value is a random, daily start time.
|
678
|
+
# `MM` must be specified as `00`. The specified time is in coordinated
|
679
|
+
# universal time (UTC). The default value is a random, daily start time.
|
679
680
|
#
|
680
681
|
# **Example:** `08:00`, which represents a daily start time of 08:00
|
681
682
|
# UTC.
|
@@ -729,11 +730,11 @@ module Aws::OpsWorksCM
|
|
729
730
|
#
|
730
731
|
# * The key can be a maximum of 127 characters, and can contain only
|
731
732
|
# Unicode letters, numbers, or separators, or the following special
|
732
|
-
# characters: `+ - = . _ :
|
733
|
+
# characters: `+ - = . _ : / @`
|
733
734
|
#
|
734
735
|
# * The value can be a maximum 255 characters, and contain only Unicode
|
735
736
|
# letters, numbers, or separators, or the following special
|
736
|
-
# characters: `+ - = . _ :
|
737
|
+
# characters: `+ - = . _ : / @`
|
737
738
|
#
|
738
739
|
# * Leading and trailing white spaces are trimmed from both the key and
|
739
740
|
# value.
|
@@ -1082,6 +1083,11 @@ module Aws::OpsWorksCM
|
|
1082
1083
|
# resp.engine_attributes[0].name #=> String
|
1083
1084
|
# resp.engine_attributes[0].value #=> String
|
1084
1085
|
#
|
1086
|
+
#
|
1087
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
1088
|
+
#
|
1089
|
+
# * node_associated
|
1090
|
+
#
|
1085
1091
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeNodeAssociationStatus AWS API Documentation
|
1086
1092
|
#
|
1087
1093
|
# @overload describe_node_association_status(params = {})
|
@@ -1751,7 +1757,7 @@ module Aws::OpsWorksCM
|
|
1751
1757
|
params: params,
|
1752
1758
|
config: config)
|
1753
1759
|
context[:gem_name] = 'aws-sdk-opsworkscm'
|
1754
|
-
context[:gem_version] = '1.
|
1760
|
+
context[:gem_version] = '1.31.0'
|
1755
1761
|
Seahorse::Client::Request.new(handlers, context)
|
1756
1762
|
end
|
1757
1763
|
|
@@ -1817,9 +1823,9 @@ module Aws::OpsWorksCM
|
|
1817
1823
|
# The following table lists the valid waiter names, the operations they call,
|
1818
1824
|
# and the default `:delay` and `:max_attempts` values.
|
1819
1825
|
#
|
1820
|
-
# | waiter_name | params
|
1821
|
-
# | --------------- |
|
1822
|
-
# | node_associated | {#describe_node_association_status} | 15 | 15 |
|
1826
|
+
# | waiter_name | params | :delay | :max_attempts |
|
1827
|
+
# | --------------- | ----------------------------------------- | -------- | ------------- |
|
1828
|
+
# | node_associated | {Client#describe_node_association_status} | 15 | 15 |
|
1823
1829
|
#
|
1824
1830
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
1825
1831
|
# 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::OpsWorksCM
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::OpsWorksCM::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::OpsWorksCM::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::OpsWorksCM::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -355,23 +355,23 @@ module Aws::OpsWorksCM
|
|
355
355
|
# @return [Boolean]
|
356
356
|
#
|
357
357
|
# @!attribute [rw] custom_domain
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
# `
|
358
|
+
# An optional public endpoint of a server, such as
|
359
|
+
# `https://aws.my-company.com`. To access the server, create a CNAME
|
360
|
+
# DNS record in your preferred DNS service that points the custom
|
361
|
+
# domain to the endpoint that is generated when the server is created
|
362
|
+
# (the value of the CreateServer Endpoint attribute). You cannot
|
363
|
+
# access the server by using the generated `Endpoint` value if the
|
364
|
+
# server is using a custom domain. If you specify a custom domain, you
|
365
|
+
# must also specify values for `CustomCertificate` and
|
366
|
+
# `CustomPrivateKey`.
|
367
367
|
# @return [String]
|
368
368
|
#
|
369
369
|
# @!attribute [rw] custom_certificate
|
370
|
-
#
|
371
|
-
# certificate
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
370
|
+
# A PEM-formatted HTTPS certificate. The value can be be a single,
|
371
|
+
# self-signed certificate, or a certificate chain. If you specify a
|
372
|
+
# custom certificate, you must also specify values for `CustomDomain`
|
373
|
+
# and `CustomPrivateKey`. The following are requirements for the
|
374
|
+
# `CustomCertificate` value:
|
375
375
|
#
|
376
376
|
# * You can provide either a self-signed, custom certificate, or the
|
377
377
|
# full certificate chain.
|
@@ -391,11 +391,11 @@ module Aws::OpsWorksCM
|
|
391
391
|
# @return [String]
|
392
392
|
#
|
393
393
|
# @!attribute [rw] custom_private_key
|
394
|
-
#
|
395
|
-
#
|
396
|
-
#
|
397
|
-
#
|
398
|
-
#
|
394
|
+
# A private key in PEM format for connecting to the server by using
|
395
|
+
# HTTPS. The private key must not be encrypted; it cannot be protected
|
396
|
+
# by a password or passphrase. If you specify a custom private key,
|
397
|
+
# you must also specify values for `CustomDomain` and
|
398
|
+
# `CustomCertificate`.
|
399
399
|
# @return [String]
|
400
400
|
#
|
401
401
|
# @!attribute [rw] disable_automated_backup
|
@@ -415,8 +415,8 @@ module Aws::OpsWorksCM
|
|
415
415
|
#
|
416
416
|
# @!attribute [rw] engine_version
|
417
417
|
# The major release version of the engine that you want to use. For a
|
418
|
-
# Chef server, the valid value for EngineVersion is currently `
|
419
|
-
#
|
418
|
+
# Chef server, the valid value for EngineVersion is currently `2`. For
|
419
|
+
# a Puppet server, the valid value is `2017`.
|
420
420
|
# @return [String]
|
421
421
|
#
|
422
422
|
# @!attribute [rw] engine_attributes
|
@@ -489,10 +489,11 @@ module Aws::OpsWorksCM
|
|
489
489
|
# @!attribute [rw] preferred_maintenance_window
|
490
490
|
# The start time for a one-hour period each week during which AWS
|
491
491
|
# OpsWorks CM performs maintenance on the instance. Valid values must
|
492
|
-
# be specified in the following format: `DDD:HH:MM`.
|
493
|
-
#
|
494
|
-
# random one-hour period on
|
495
|
-
# `TimeWindowDefinition` for more
|
492
|
+
# be specified in the following format: `DDD:HH:MM`. `MM` must be
|
493
|
+
# specified as `00`. The specified time is in coordinated universal
|
494
|
+
# time (UTC). The default value is a random one-hour period on
|
495
|
+
# Tuesday, Wednesday, or Friday. See `TimeWindowDefinition` for more
|
496
|
+
# information.
|
496
497
|
#
|
497
498
|
# **Example:** `Mon:08:00`, which represents a start time of every
|
498
499
|
# Monday at 08:00 UTC. (8:00 a.m.)
|
@@ -508,8 +509,9 @@ module Aws::OpsWorksCM
|
|
508
509
|
#
|
509
510
|
# * `DDD:HH:MM` for weekly backups
|
510
511
|
#
|
511
|
-
# The specified time is in coordinated
|
512
|
-
# default value is a random, daily start
|
512
|
+
# `MM` must be specified as `00`. The specified time is in coordinated
|
513
|
+
# universal time (UTC). The default value is a random, daily start
|
514
|
+
# time.
|
513
515
|
#
|
514
516
|
# **Example:** `08:00`, which represents a daily start time of 08:00
|
515
517
|
# UTC.
|
@@ -568,11 +570,11 @@ module Aws::OpsWorksCM
|
|
568
570
|
#
|
569
571
|
# * The key can be a maximum of 127 characters, and can contain only
|
570
572
|
# Unicode letters, numbers, or separators, or the following special
|
571
|
-
# characters: `+ - = . _ :
|
573
|
+
# characters: `+ - = . _ : / @`
|
572
574
|
#
|
573
575
|
# * The value can be a maximum 255 characters, and contain only
|
574
576
|
# Unicode letters, numbers, or separators, or the following special
|
575
|
-
# characters: `+ - = . _ :
|
577
|
+
# characters: `+ - = . _ : / @`
|
576
578
|
#
|
577
579
|
# * Leading and trailing white spaces are trimmed from both the key
|
578
580
|
# and value.
|
@@ -1335,7 +1337,7 @@ module Aws::OpsWorksCM
|
|
1335
1337
|
#
|
1336
1338
|
# @!attribute [rw] engine_version
|
1337
1339
|
# The engine version of the server. For a Chef server, the valid value
|
1338
|
-
# for EngineVersion is currently `
|
1340
|
+
# for EngineVersion is currently `2`. For a Puppet server, the valid
|
1339
1341
|
# value is `2017`.
|
1340
1342
|
# @return [String]
|
1341
1343
|
#
|
@@ -8,6 +8,67 @@
|
|
8
8
|
require 'aws-sdk-core/waiters'
|
9
9
|
|
10
10
|
module Aws::OpsWorksCM
|
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
|
+
# | node_associated | {Client#describe_node_association_status} | 15 | 15 |
|
71
|
+
#
|
11
72
|
module Waiters
|
12
73
|
|
13
74
|
# Wait until node is associated or disassociated.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-opsworkscm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.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-
|
11
|
+
date: 2020-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|