aws-sdk-imagebuilder 1.124.0 → 1.125.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
2
  SHA256:
3
- metadata.gz: 03b93fb5e99139d38159320ca8c7efc89c316548369eb1957675a72f94742d3a
4
- data.tar.gz: d9195bcd18c536706a115bc714a1c5576f972024b1a2c796fc5997dc1f51e0e1
3
+ metadata.gz: 18c82f79af45fb6c5c548ad7ef9ca8864099d1e9828513023356c93ddaedb467
4
+ data.tar.gz: da3640c2181d5b06306c8334456cc41bd23f001badaa73536926d0929b0971a7
5
5
  SHA512:
6
- metadata.gz: 9cb2294ace671b4819aa57b8378622a721fd3f241086dbf573a1cad9002102f8104c29e9b34fd331744dbafec64bbca98ce552ab267c662d285945a94b109cb3
7
- data.tar.gz: fd17010a1ca03768bfbf31d58ca76a6e90cb27a0b643bd95c27df8ffe941022bf694d805fc0be6d2f9f1df6d90175274899e259a9ff258c120184229de0c2a01
6
+ metadata.gz: 4869272aff5bd4cca44a78d5a1ec316ba4aa227d004b99937526021808dfb66bc2b094ed6e8915bc81d4c07490ecbd722b9da0e293c9ffe3a76043d7ed1714ca
7
+ data.tar.gz: 5ec2bb75f6282923f7e4833be1f8978eedc569e2f5730fdd7bc91b26252fd04afa73008b469e929bbd8a40595e221f8386339739bba80e311964e783936cbd89
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.125.0 (2026-11-13)
5
+ ------------------
6
+
7
+ * Feature - Add documentation clarification around List API behavior, and add image available waiter
8
+
4
9
  1.124.0 (2026-11-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.124.0
1
+ 1.125.0
@@ -1625,8 +1625,11 @@ module Aws::Imagebuilder
1625
1625
  #
1626
1626
  # @option params [Array<Types::WorkflowConfiguration>] :workflows
1627
1627
  # The array of workflow configuration objects for builds that this
1628
- # pipeline starts. You must also specify `executionRole` when you
1629
- # provide workflows.
1628
+ # pipeline starts. If you specify workflows, they replace the default
1629
+ # workflows that Image Builder otherwise runs for the pipeline's
1630
+ # builds. For example, if your list doesn't include a test workflow,
1631
+ # the pipeline's builds don't run one. You must also specify
1632
+ # `executionRole` when you provide workflows.
1630
1633
  #
1631
1634
  # @option params [String] :execution_role
1632
1635
  # The name or Amazon Resource Name (ARN) for the IAM role you create
@@ -4004,6 +4007,11 @@ module Aws::Imagebuilder
4004
4007
  # resp.latest_version_references.latest_minor_version_arn #=> String
4005
4008
  # resp.latest_version_references.latest_patch_version_arn #=> String
4006
4009
  #
4010
+ #
4011
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
4012
+ #
4013
+ # * image_available
4014
+ #
4007
4015
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImage AWS API Documentation
4008
4016
  #
4009
4017
  # @overload get_image(params = {})
@@ -5372,6 +5380,9 @@ module Aws::Imagebuilder
5372
5380
  # you don't specify an ARN, Image Builder returns build versions for
5373
5381
  # the components that your account owns.
5374
5382
  #
5383
+ # If the ARN that you specify doesn't exist, Image Builder returns an
5384
+ # empty list rather than a `ResourceNotFoundException` error.
5385
+ #
5375
5386
  # @option params [Integer] :max_results
5376
5387
  # The maximum number of items to return in a single request. If you
5377
5388
  # don't specify a value, Image Builder returns up to 25 items. The
@@ -5865,6 +5876,9 @@ module Aws::Imagebuilder
5865
5876
  # parameter is optional. If you don't specify it, Image Builder returns
5866
5877
  # build versions for all of the images in your account.
5867
5878
  #
5879
+ # If the ARN that you specify doesn't exist, Image Builder returns an
5880
+ # empty list rather than a `ResourceNotFoundException` error.
5881
+ #
5868
5882
  # @option params [Array<Types::Filter>] :filters
5869
5883
  # Use the following filters to streamline results:
5870
5884
  #
@@ -6125,6 +6139,9 @@ module Aws::Imagebuilder
6125
6139
  # The Amazon Resource Name (ARN) of the image pipeline whose images you
6126
6140
  # want to view.
6127
6141
  #
6142
+ # If the ARN that you specify doesn't exist, Image Builder returns an
6143
+ # empty list rather than a `ResourceNotFoundException` error.
6144
+ #
6128
6145
  # @option params [Array<Types::Filter>] :filters
6129
6146
  # Use the following filters to streamline results:
6130
6147
  #
@@ -8697,8 +8714,9 @@ module Aws::Imagebuilder
8697
8714
  # Regions, accounts, and settings for each Region.
8698
8715
  #
8699
8716
  # <note markdown="1"> This operation doesn't support selective updates. The request
8700
- # replaces the stored configuration, so include every setting that you
8701
- # want to keep.
8717
+ # replaces the entire distribution configuration, so include every
8718
+ # setting that you want to keep. Any optional property that you omit is
8719
+ # removed or reset to its default.
8702
8720
  #
8703
8721
  # </note>
8704
8722
  #
@@ -8853,10 +8871,10 @@ module Aws::Imagebuilder
8853
8871
  # `imageRecipeArn`. The recipe must be the same type, image or
8854
8872
  # container, as the pipeline's current recipe.
8855
8873
  #
8856
- # <note markdown="1"> UpdateImagePipeline does not support selective updates. The request
8857
- # replaces the pipeline's entire configuration, so include every
8858
- # setting that you want to keep. Any optional property that you omit is
8859
- # removed or reset to its default.
8874
+ # <note markdown="1"> This operation doesn't support selective updates. The request
8875
+ # replaces the entire pipeline configuration, so include every setting
8876
+ # that you want to keep. Any optional property that you omit is removed
8877
+ # or reset to its default.
8860
8878
  #
8861
8879
  # </note>
8862
8880
  #
@@ -8928,8 +8946,11 @@ module Aws::Imagebuilder
8928
8946
  #
8929
8947
  # @option params [Array<Types::WorkflowConfiguration>] :workflows
8930
8948
  # The array of workflow configuration objects for builds that this
8931
- # pipeline starts. You must also specify `executionRole` when you
8932
- # provide workflows.
8949
+ # pipeline starts. If you specify workflows, they replace the default
8950
+ # workflows that Image Builder otherwise runs for the pipeline's
8951
+ # builds. For example, if your list doesn't include a test workflow,
8952
+ # the pipeline's builds don't run one. You must also specify
8953
+ # `executionRole` when you provide workflows.
8933
8954
  #
8934
8955
  # @option params [Types::PipelineLoggingConfiguration] :logging_configuration
8935
8956
  # Specifies the logging configuration for the image pipeline. Use this
@@ -9059,8 +9080,9 @@ module Aws::Imagebuilder
9059
9080
  # and tests your image.
9060
9081
  #
9061
9082
  # <note markdown="1"> This operation doesn't support selective updates. The request
9062
- # replaces the configuration, so include every setting that you want to
9063
- # keep. Omitted optional properties are cleared.
9083
+ # replaces the entire infrastructure configuration, so include every
9084
+ # setting that you want to keep. Any optional property that you omit is
9085
+ # removed or reset to its default.
9064
9086
  #
9065
9087
  # </note>
9066
9088
  #
@@ -9273,10 +9295,15 @@ module Aws::Imagebuilder
9273
9295
  req.send_request(options)
9274
9296
  end
9275
9297
 
9276
- # Updates the specified lifecycle policy. The request replaces the
9277
- # existing policy configuration rather than merging changes, so
9278
- # re-specify every setting that you want to keep. The `resourceType`
9279
- # must match the existing policy's value.
9298
+ # Updates the specified lifecycle policy. The `resourceType` must match
9299
+ # the existing policy's value.
9300
+ #
9301
+ # <note markdown="1"> This operation doesn't support selective updates. The request
9302
+ # replaces the entire lifecycle policy configuration, so include every
9303
+ # setting that you want to keep. Any optional property that you omit is
9304
+ # removed or reset to its default.
9305
+ #
9306
+ # </note>
9280
9307
  #
9281
9308
  # @option params [required, String] :lifecycle_policy_arn
9282
9309
  # The Amazon Resource Name (ARN) of the lifecycle policy resource.
@@ -9456,14 +9483,127 @@ module Aws::Imagebuilder
9456
9483
  tracer: tracer
9457
9484
  )
9458
9485
  context[:gem_name] = 'aws-sdk-imagebuilder'
9459
- context[:gem_version] = '1.124.0'
9486
+ context[:gem_version] = '1.125.0'
9460
9487
  Seahorse::Client::Request.new(handlers, context)
9461
9488
  end
9462
9489
 
9490
+ # Polls an API operation until a resource enters a desired state.
9491
+ #
9492
+ # ## Basic Usage
9493
+ #
9494
+ # A waiter will call an API operation until:
9495
+ #
9496
+ # * It is successful
9497
+ # * It enters a terminal state
9498
+ # * It makes the maximum number of attempts
9499
+ #
9500
+ # In between attempts, the waiter will sleep.
9501
+ #
9502
+ # # polls in a loop, sleeping between attempts
9503
+ # client.wait_until(waiter_name, params)
9504
+ #
9505
+ # ## Configuration
9506
+ #
9507
+ # You can configure the maximum number of polling attempts, and the
9508
+ # delay (in seconds) between each polling attempt. You can pass
9509
+ # configuration as the final arguments hash.
9510
+ #
9511
+ # # poll for ~25 seconds
9512
+ # client.wait_until(waiter_name, params, {
9513
+ # max_attempts: 5,
9514
+ # delay: 5,
9515
+ # })
9516
+ #
9517
+ # ## Callbacks
9518
+ #
9519
+ # You can be notified before each polling attempt and before each
9520
+ # delay. If you throw `:success` or `:failure` from these callbacks,
9521
+ # it will terminate the waiter.
9522
+ #
9523
+ # started_at = Time.now
9524
+ # client.wait_until(waiter_name, params, {
9525
+ #
9526
+ # # disable max attempts
9527
+ # max_attempts: nil,
9528
+ #
9529
+ # # poll for 1 hour, instead of a number of attempts
9530
+ # before_wait: -> (attempts, response) do
9531
+ # throw :failure if Time.now - started_at > 3600
9532
+ # end
9533
+ # })
9534
+ #
9535
+ # ## Handling Errors
9536
+ #
9537
+ # When a waiter is unsuccessful, it will raise an error.
9538
+ # All of the failure errors extend from
9539
+ # {Aws::Waiters::Errors::WaiterFailed}.
9540
+ #
9541
+ # begin
9542
+ # client.wait_until(...)
9543
+ # rescue Aws::Waiters::Errors::WaiterFailed
9544
+ # # resource did not enter the desired state in time
9545
+ # end
9546
+ #
9547
+ # ## Valid Waiters
9548
+ #
9549
+ # The following table lists the valid waiter names, the operations they call,
9550
+ # and the default `:delay` and `:max_attempts` values.
9551
+ #
9552
+ # | waiter_name | params | :delay | :max_attempts |
9553
+ # | --------------- | ------------------ | -------- | ------------- |
9554
+ # | image_available | {Client#get_image} | 60 | 360 |
9555
+ #
9556
+ # @raise [Errors::FailureStateError] Raised when the waiter terminates
9557
+ # because the waiter has entered a state that it will not transition
9558
+ # out of, preventing success.
9559
+ #
9560
+ # @raise [Errors::TooManyAttemptsError] Raised when the configured
9561
+ # maximum number of attempts have been made, and the waiter is not
9562
+ # yet successful.
9563
+ #
9564
+ # @raise [Errors::UnexpectedError] Raised when an error is encounted
9565
+ # while polling for a resource that is not expected.
9566
+ #
9567
+ # @raise [Errors::NoSuchWaiterError] Raised when you request to wait
9568
+ # for an unknown state.
9569
+ #
9570
+ # @return [Boolean] Returns `true` if the waiter was successful.
9571
+ # @param [Symbol] waiter_name
9572
+ # @param [Hash] params ({})
9573
+ # @param [Hash] options ({})
9574
+ # @option options [Integer] :max_attempts
9575
+ # @option options [Integer] :delay
9576
+ # @option options [Proc] :before_attempt
9577
+ # @option options [Proc] :before_wait
9578
+ def wait_until(waiter_name, params = {}, options = {})
9579
+ w = waiter(waiter_name, options)
9580
+ yield(w.waiter) if block_given? # deprecated
9581
+ w.wait(params)
9582
+ end
9583
+
9463
9584
  # @api private
9464
9585
  # @deprecated
9465
9586
  def waiter_names
9466
- []
9587
+ waiters.keys
9588
+ end
9589
+
9590
+ private
9591
+
9592
+ # @param [Symbol] waiter_name
9593
+ # @param [Hash] options ({})
9594
+ def waiter(waiter_name, options = {})
9595
+ waiter_class = waiters[waiter_name]
9596
+ if waiter_class
9597
+ waiter_class.new(options.merge(client: self))
9598
+ else
9599
+ raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
9600
+ end
9601
+ end
9602
+
9603
+ def waiters
9604
+ {
9605
+ image_available: Waiters::ImageAvailable
9606
+ }
9467
9607
  end
9468
9608
 
9469
9609
  class << self
@@ -1621,8 +1621,11 @@ module Aws::Imagebuilder
1621
1621
  #
1622
1622
  # @!attribute [rw] workflows
1623
1623
  # The array of workflow configuration objects for builds that this
1624
- # pipeline starts. You must also specify `executionRole` when you
1625
- # provide workflows.
1624
+ # pipeline starts. If you specify workflows, they replace the default
1625
+ # workflows that Image Builder otherwise runs for the pipeline's
1626
+ # builds. For example, if your list doesn't include a test workflow,
1627
+ # the pipeline's builds don't run one. You must also specify
1628
+ # `executionRole` when you provide workflows.
1626
1629
  # @return [Array<Types::WorkflowConfiguration>]
1627
1630
  #
1628
1631
  # @!attribute [rw] execution_role
@@ -3280,6 +3283,13 @@ module Aws::Imagebuilder
3280
3283
  #
3281
3284
  # @!attribute [rw] name
3282
3285
  # The name of the filter. Filter names are case-sensitive.
3286
+ #
3287
+ # The `name` filter matches the name that you gave the resource when
3288
+ # you created it, exactly as you entered it. It doesn't match the
3289
+ # name segment of the resource ARN, which Image Builder converts to
3290
+ # lowercase with hyphens in place of spaces and underscores. For
3291
+ # example, a resource named `My Image` has an ARN that contains
3292
+ # `my-image` – filter on `My Image` to find it.
3283
3293
  # @return [String]
3284
3294
  #
3285
3295
  # @!attribute [rw] values
@@ -4999,9 +5009,10 @@ module Aws::Imagebuilder
4999
5009
  # Amazon ECR repository from your `ecrConfiguration` settings.
5000
5010
  #
5001
5011
  # To use container image scans, you must activate Amazon Inspector for
5002
- # Amazon ECR scanning in your account. The Image Builder
5003
- # `ListImageScanFindings` operation returns the findings of these
5004
- # scans.
5012
+ # Amazon ECR scanning in the account and Amazon Web Services Region
5013
+ # where the build runs. Amazon Inspector activation is Regional. The
5014
+ # Image Builder `ListImageScanFindings` operation returns the findings
5015
+ # of these scans.
5005
5016
  # @return [Boolean]
5006
5017
  #
5007
5018
  # @!attribute [rw] ecr_configuration
@@ -5016,8 +5027,9 @@ module Aws::Imagebuilder
5016
5027
  #
5017
5028
  # * With `TEST_INSTANCE_CVE`, Amazon Inspector scans the test instance
5018
5029
  # during image tests. To use this scan, you must activate Amazon
5019
- # Inspector for Amazon EC2 scanning in your account. The Image
5020
- # Builder `ListImageScanFindings` operation returns the findings.
5030
+ # Inspector for Amazon EC2 scanning in the account and Amazon Web
5031
+ # Services Region where the build runs. The Image Builder
5032
+ # `ListImageScanFindings` operation returns the findings.
5021
5033
  #
5022
5034
  # * With `ON_DEMAND_AMI_CVE`, Amazon Inspector starts an on-demand
5023
5035
  # scan of the output AMI during image tests. To use this scan, you
@@ -6837,6 +6849,9 @@ module Aws::Imagebuilder
6837
6849
  # ARN must specify an exact version, without a build number suffix. If
6838
6850
  # you don't specify an ARN, Image Builder returns build versions for
6839
6851
  # the components that your account owns.
6852
+ #
6853
+ # If the ARN that you specify doesn't exist, Image Builder returns an
6854
+ # empty list rather than a `ResourceNotFoundException` error.
6840
6855
  # @return [String]
6841
6856
  #
6842
6857
  # @!attribute [rw] max_results
@@ -7108,6 +7123,9 @@ module Aws::Imagebuilder
7108
7123
  # (`<major>.<minor>.<patch>`) - wildcards aren't allowed. This
7109
7124
  # parameter is optional. If you don't specify it, Image Builder
7110
7125
  # returns build versions for all of the images in your account.
7126
+ #
7127
+ # If the ARN that you specify doesn't exist, Image Builder returns an
7128
+ # empty list rather than a `ResourceNotFoundException` error.
7111
7129
  # @return [String]
7112
7130
  #
7113
7131
  # @!attribute [rw] filters
@@ -7230,6 +7248,9 @@ module Aws::Imagebuilder
7230
7248
  # @!attribute [rw] image_pipeline_arn
7231
7249
  # The Amazon Resource Name (ARN) of the image pipeline whose images
7232
7250
  # you want to view.
7251
+ #
7252
+ # If the ARN that you specify doesn't exist, Image Builder returns an
7253
+ # empty list rather than a `ResourceNotFoundException` error.
7233
7254
  # @return [String]
7234
7255
  #
7235
7256
  # @!attribute [rw] filters
@@ -9617,8 +9638,11 @@ module Aws::Imagebuilder
9617
9638
  #
9618
9639
  # @!attribute [rw] workflows
9619
9640
  # The array of workflow configuration objects for builds that this
9620
- # pipeline starts. You must also specify `executionRole` when you
9621
- # provide workflows.
9641
+ # pipeline starts. If you specify workflows, they replace the default
9642
+ # workflows that Image Builder otherwise runs for the pipeline's
9643
+ # builds. For example, if your list doesn't include a test workflow,
9644
+ # the pipeline's builds don't run one. You must also specify
9645
+ # `executionRole` when you provide workflows.
9622
9646
  # @return [Array<Types::WorkflowConfiguration>]
9623
9647
  #
9624
9648
  # @!attribute [rw] logging_configuration
@@ -0,0 +1,127 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::Imagebuilder
13
+ # Waiters are utility methods that poll for a particular state to occur
14
+ # on a client. Waiters can fail after a number of attempts at a polling
15
+ # interval defined for the service client.
16
+ #
17
+ # For a list of operations that can be waited for and the
18
+ # client methods called for each operation, see the table below or the
19
+ # {Client#wait_until} field documentation for the {Client}.
20
+ #
21
+ # # Invoking a Waiter
22
+ # To invoke a waiter, call #wait_until on a {Client}. The first parameter
23
+ # is the waiter name, which is specific to the service client and indicates
24
+ # which operation is being waited for. The second parameter is a hash of
25
+ # parameters that are passed to the client method called by the waiter,
26
+ # which varies according to the waiter name.
27
+ #
28
+ # # Wait Failures
29
+ # To catch errors in a waiter, use WaiterFailed,
30
+ # as shown in the following example.
31
+ #
32
+ # rescue rescue Aws::Waiters::Errors::WaiterFailed => error
33
+ # puts "failed waiting for instance running: #{error.message}
34
+ # end
35
+ #
36
+ # # Configuring a Waiter
37
+ # Each waiter has a default polling interval and a maximum number of
38
+ # attempts it will make before returning control to your program.
39
+ # To set these values, use the `max_attempts` and `delay` parameters
40
+ # in your `#wait_until` call.
41
+ # The following example waits for up to 25 seconds, polling every five seconds.
42
+ #
43
+ # client.wait_until(...) do |w|
44
+ # w.max_attempts = 5
45
+ # w.delay = 5
46
+ # end
47
+ #
48
+ # To disable wait failures, set the value of either of these parameters
49
+ # to `nil`.
50
+ #
51
+ # # Extending a Waiter
52
+ # To modify the behavior of waiters, you can register callbacks that are
53
+ # triggered before each polling attempt and before waiting.
54
+ #
55
+ # The following example implements an exponential backoff in a waiter
56
+ # by doubling the amount of time to wait on every attempt.
57
+ #
58
+ # client.wait_until(...) do |w|
59
+ # w.interval = 0 # disable normal sleep
60
+ # w.before_wait do |n, resp|
61
+ # sleep(n ** 2)
62
+ # end
63
+ # end
64
+ #
65
+ # # Available Waiters
66
+ #
67
+ # The following table lists the valid waiter names, the operations they call,
68
+ # and the default `:delay` and `:max_attempts` values.
69
+ #
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | --------------- | ------------------ | -------- | ------------- |
72
+ # | image_available | {Client#get_image} | 60 | 360 |
73
+ #
74
+ module Waiters
75
+
76
+ # Wait until an image build version reaches the AVAILABLE state, meaning the build completed, including distribution and integration of output resources. The waiter fails if the image reaches the FAILED or CANCELLED state. Specify the full image build version ARN; wildcard version ARNs only resolve to images that are already available.
77
+ class ImageAvailable
78
+
79
+ # @param [Hash] options
80
+ # @option options [required, Client] :client
81
+ # @option options [Integer] :max_attempts (360)
82
+ # @option options [Integer] :delay (60)
83
+ # @option options [Proc] :before_attempt
84
+ # @option options [Proc] :before_wait
85
+ def initialize(options)
86
+ @client = options.fetch(:client)
87
+ @waiter = Aws::Waiters::Waiter.new({
88
+ max_attempts: 360,
89
+ delay: 60,
90
+ poller: Aws::Waiters::Poller.new(
91
+ operation_name: :get_image,
92
+ acceptors: [
93
+ {
94
+ "state" => "success",
95
+ "matcher" => "path",
96
+ "argument" => "image.state.status",
97
+ "expected" => "AVAILABLE"
98
+ },
99
+ {
100
+ "state" => "failure",
101
+ "matcher" => "path",
102
+ "argument" => "image.state.status",
103
+ "expected" => "FAILED"
104
+ },
105
+ {
106
+ "state" => "failure",
107
+ "matcher" => "path",
108
+ "argument" => "image.state.status",
109
+ "expected" => "CANCELLED"
110
+ }
111
+ ]
112
+ )
113
+ }.merge(options))
114
+ end
115
+
116
+ # @option (see Client#get_image)
117
+ # @return (see Client#get_image)
118
+ def wait(params = {})
119
+ @waiter.wait(client: @client, params: params)
120
+ end
121
+
122
+ # @api private
123
+ attr_reader :waiter
124
+
125
+ end
126
+ end
127
+ end
@@ -49,12 +49,13 @@ module Aws::Imagebuilder
49
49
  end
50
50
  autoload :Client, 'aws-sdk-imagebuilder/client'
51
51
  autoload :Errors, 'aws-sdk-imagebuilder/errors'
52
+ autoload :Waiters, 'aws-sdk-imagebuilder/waiters'
52
53
  autoload :Resource, 'aws-sdk-imagebuilder/resource'
53
54
  autoload :EndpointParameters, 'aws-sdk-imagebuilder/endpoint_parameters'
54
55
  autoload :EndpointProvider, 'aws-sdk-imagebuilder/endpoint_provider'
55
56
  autoload :Endpoints, 'aws-sdk-imagebuilder/endpoints'
56
57
 
57
- GEM_VERSION = '1.124.0'
58
+ GEM_VERSION = '1.125.0'
58
59
 
59
60
  end
60
61
 
data/sig/client.rbs CHANGED
@@ -1450,6 +1450,12 @@ module Aws
1450
1450
  client_token: ::String
1451
1451
  ) -> _UpdateLifecyclePolicyResponseSuccess
1452
1452
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLifecyclePolicyResponseSuccess
1453
+
1454
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#wait_until-instance_method
1455
+ def wait_until: (:image_available waiter_name,
1456
+ image_build_version_arn: ::String
1457
+ ) -> Client::_GetImageResponseSuccess
1458
+ | (:image_available waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetImageResponseSuccess
1453
1459
  end
1454
1460
  end
1455
1461
  end
data/sig/waiters.rbs CHANGED
@@ -8,6 +8,16 @@
8
8
  module Aws
9
9
  module Imagebuilder
10
10
  module Waiters
11
+
12
+ class ImageAvailable
13
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
14
+ | (?Hash[Symbol, untyped]) -> void
15
+
16
+ def wait: (
17
+ image_build_version_arn: ::String
18
+ ) -> Client::_GetImageResponseSuccess
19
+ | (Hash[Symbol, untyped]) -> Client::_GetImageResponseSuccess
20
+ end
11
21
  end
12
22
  end
13
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-imagebuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.124.0
4
+ version: 1.125.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -65,6 +65,7 @@ files:
65
65
  - lib/aws-sdk-imagebuilder/plugins/endpoints.rb
66
66
  - lib/aws-sdk-imagebuilder/resource.rb
67
67
  - lib/aws-sdk-imagebuilder/types.rb
68
+ - lib/aws-sdk-imagebuilder/waiters.rb
68
69
  - sig/client.rbs
69
70
  - sig/errors.rbs
70
71
  - sig/params.rbs