aws-sdk-imagebuilder 1.123.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: 5c5df017e1c83b60d40b370cfa72953bdbeaf3aa46de58dc57b3f311afa4ed73
4
- data.tar.gz: 78fbe1023f4535b1319ad31fa8bfd16ca0a945b9177a82eaee4ed90640fb38bf
3
+ metadata.gz: 18c82f79af45fb6c5c548ad7ef9ca8864099d1e9828513023356c93ddaedb467
4
+ data.tar.gz: da3640c2181d5b06306c8334456cc41bd23f001badaa73536926d0929b0971a7
5
5
  SHA512:
6
- metadata.gz: c1b7fc82f368be79ac0334bc0e3e1f29b009920e2b7b3232d4f25682d0a8071d3ff5ce9feaa4b306d4dc74db2842c034cc0693c6cb26236fe33845f2e8423aff
7
- data.tar.gz: 3d432caa04d18af187a4459a7bedafee30c01d7e2852f67cd5ad31d151d421e50b14b06dfe781f9e0025427068bb295382bae5532db2d36900cadc36da25df03
6
+ metadata.gz: 4869272aff5bd4cca44a78d5a1ec316ba4aa227d004b99937526021808dfb66bc2b094ed6e8915bc81d4c07490ecbd722b9da0e293c9ffe3a76043d7ed1714ca
7
+ data.tar.gz: 5ec2bb75f6282923f7e4833be1f8978eedc569e2f5730fdd7bc91b26252fd04afa73008b469e929bbd8a40595e221f8386339739bba80e311964e783936cbd89
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.124.0 (2026-11-11)
10
+ ------------------
11
+
12
+ * Feature - Update list operations to support wildcard name filtering and page sizes up to 100 results via MaxResults
13
+
4
14
  1.123.0 (2026-11-10)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.123.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,8 +5380,15 @@ 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
- # The maximum number of items to return in a single request.
5387
+ # The maximum number of items to return in a single request. If you
5388
+ # don't specify a value, Image Builder returns up to 25 items. The
5389
+ # largest page size that you can request is 100 items. A page can
5390
+ # contain fewer items than the maximum, with a `nextToken` to continue
5391
+ # paging.
5377
5392
  #
5378
5393
  # @option params [String] :next_token
5379
5394
  # A token to specify where to start paginating. Use the `nextToken`
@@ -5534,7 +5549,11 @@ module Aws::Imagebuilder
5534
5549
  # option with the `version` filter.
5535
5550
  #
5536
5551
  # @option params [Integer] :max_results
5537
- # The maximum number of items to return in a single request.
5552
+ # The maximum number of items to return in a single request. If you
5553
+ # don't specify a value, Image Builder returns up to 25 items. The
5554
+ # largest page size that you can request is 100 items. A page can
5555
+ # contain fewer items than the maximum, with a `nextToken` to continue
5556
+ # paging.
5538
5557
  #
5539
5558
  # @option params [String] :next_token
5540
5559
  # A token to specify where to start paginating. Use the `nextToken`
@@ -5673,7 +5692,11 @@ module Aws::Imagebuilder
5673
5692
  # * `platform`
5674
5693
  #
5675
5694
  # @option params [Integer] :max_results
5676
- # The maximum number of items to return in a single request.
5695
+ # The maximum number of items to return in a single request. If you
5696
+ # don't specify a value, Image Builder returns up to 25 items. The
5697
+ # largest page size that you can request is 100 items. A page can
5698
+ # contain fewer items than the maximum, with a `nextToken` to continue
5699
+ # paging.
5677
5700
  #
5678
5701
  # @option params [String] :next_token
5679
5702
  # A token to specify where to start paginating. Use the `nextToken`
@@ -5757,7 +5780,11 @@ module Aws::Imagebuilder
5757
5780
  # You can filter on `name` to streamline results.
5758
5781
  #
5759
5782
  # @option params [Integer] :max_results
5760
- # The maximum number of items to return in a single request.
5783
+ # The maximum number of items to return in a single request. If you
5784
+ # don't specify a value, Image Builder returns up to 25 items. The
5785
+ # largest page size that you can request is 100 items. A page can
5786
+ # contain fewer items than the maximum, with a `nextToken` to continue
5787
+ # paging.
5761
5788
  #
5762
5789
  # @option params [String] :next_token
5763
5790
  # A token to specify where to start paginating. Use the `nextToken`
@@ -5849,6 +5876,9 @@ module Aws::Imagebuilder
5849
5876
  # parameter is optional. If you don't specify it, Image Builder returns
5850
5877
  # build versions for all of the images in your account.
5851
5878
  #
5879
+ # If the ARN that you specify doesn't exist, Image Builder returns an
5880
+ # empty list rather than a `ResourceNotFoundException` error.
5881
+ #
5852
5882
  # @option params [Array<Types::Filter>] :filters
5853
5883
  # Use the following filters to streamline results:
5854
5884
  #
@@ -5863,7 +5893,11 @@ module Aws::Imagebuilder
5863
5893
  # * `version`
5864
5894
  #
5865
5895
  # @option params [Integer] :max_results
5866
- # The maximum number of items to return in a single request.
5896
+ # The maximum number of items to return in a single request. If you
5897
+ # don't specify a value, Image Builder returns up to 25 items. The
5898
+ # largest page size that you can request is 100 items. A page can
5899
+ # contain fewer items than the maximum, with a `nextToken` to continue
5900
+ # paging.
5867
5901
  #
5868
5902
  # @option params [String] :next_token
5869
5903
  # A token to specify where to start paginating. Use the `nextToken`
@@ -6019,7 +6053,11 @@ module Aws::Imagebuilder
6019
6053
  # packages you want to list. The value must be a full build version ARN.
6020
6054
  #
6021
6055
  # @option params [Integer] :max_results
6022
- # The maximum number of items to return in a single request.
6056
+ # The maximum number of items to return in a single request. If you
6057
+ # don't specify a value, Image Builder returns up to 25 items. The
6058
+ # largest page size that you can request is 100 items. A page can
6059
+ # contain fewer items than the maximum, with a `nextToken` to continue
6060
+ # paging.
6023
6061
  #
6024
6062
  # @option params [String] :next_token
6025
6063
  # A token to specify where to start paginating. Use the `nextToken`
@@ -6101,6 +6139,9 @@ module Aws::Imagebuilder
6101
6139
  # The Amazon Resource Name (ARN) of the image pipeline whose images you
6102
6140
  # want to view.
6103
6141
  #
6142
+ # If the ARN that you specify doesn't exist, Image Builder returns an
6143
+ # empty list rather than a `ResourceNotFoundException` error.
6144
+ #
6104
6145
  # @option params [Array<Types::Filter>] :filters
6105
6146
  # Use the following filters to streamline results:
6106
6147
  #
@@ -6109,7 +6150,11 @@ module Aws::Imagebuilder
6109
6150
  # * `version`
6110
6151
  #
6111
6152
  # @option params [Integer] :max_results
6112
- # The maximum number of items to return in a single request.
6153
+ # The maximum number of items to return in a single request. If you
6154
+ # don't specify a value, Image Builder returns up to 25 items. The
6155
+ # largest page size that you can request is 100 items. A page can
6156
+ # contain fewer items than the maximum, with a `nextToken` to continue
6157
+ # paging.
6113
6158
  #
6114
6159
  # @option params [String] :next_token
6115
6160
  # A token to specify where to start paginating. Use the `nextToken`
@@ -6266,7 +6311,11 @@ module Aws::Imagebuilder
6266
6311
  # * `status`
6267
6312
  #
6268
6313
  # @option params [Integer] :max_results
6269
- # The maximum number of items to return in a single request.
6314
+ # The maximum number of items to return in a single request. If you
6315
+ # don't specify a value, Image Builder returns up to 25 items. The
6316
+ # largest page size that you can request is 100 items. A page can
6317
+ # contain fewer items than the maximum, with a `nextToken` to continue
6318
+ # paging.
6270
6319
  #
6271
6320
  # @option params [String] :next_token
6272
6321
  # A token to specify where to start paginating. Use the `nextToken`
@@ -6414,7 +6463,11 @@ module Aws::Imagebuilder
6414
6463
  # * `platform`
6415
6464
  #
6416
6465
  # @option params [Integer] :max_results
6417
- # The maximum number of items to return in a single request.
6466
+ # The maximum number of items to return in a single request. If you
6467
+ # don't specify a value, Image Builder returns up to 25 items. The
6468
+ # largest page size that you can request is 100 items. A page can
6469
+ # contain fewer items than the maximum, with a `nextToken` to continue
6470
+ # paging.
6418
6471
  #
6419
6472
  # @option params [String] :next_token
6420
6473
  # A token to specify where to start paginating. Use the `nextToken`
@@ -6642,7 +6695,11 @@ module Aws::Imagebuilder
6642
6695
  # listed.
6643
6696
  #
6644
6697
  # @option params [Integer] :max_results
6645
- # The maximum number of items to return in a single request.
6698
+ # The maximum number of items to return in a single request. If you
6699
+ # don't specify a value, Image Builder returns up to 25 items. The
6700
+ # largest page size that you can request is 100 items. A page can
6701
+ # contain fewer items than the maximum, with a `nextToken` to continue
6702
+ # paging.
6646
6703
  #
6647
6704
  # @option params [String] :next_token
6648
6705
  # A token to specify where to start paginating. Use the `nextToken`
@@ -6847,7 +6904,11 @@ module Aws::Imagebuilder
6847
6904
  # `version` filter.
6848
6905
  #
6849
6906
  # @option params [Integer] :max_results
6850
- # The maximum number of items to return in a single request.
6907
+ # The maximum number of items to return in a single request. If you
6908
+ # don't specify a value, Image Builder returns up to 25 items. The
6909
+ # largest page size that you can request is 100 items. A page can
6910
+ # contain fewer items than the maximum, with a `nextToken` to continue
6911
+ # paging.
6851
6912
  #
6852
6913
  # @option params [String] :next_token
6853
6914
  # A token to specify where to start paginating. Use the `nextToken`
@@ -6964,7 +7025,11 @@ module Aws::Imagebuilder
6964
7025
  # You can filter on `name` to streamline results.
6965
7026
  #
6966
7027
  # @option params [Integer] :max_results
6967
- # The maximum number of items to return in a single request.
7028
+ # The maximum number of items to return in a single request. If you
7029
+ # don't specify a value, Image Builder returns up to 25 items. The
7030
+ # largest page size that you can request is 100 items. A page can
7031
+ # contain fewer items than the maximum, with a `nextToken` to continue
7032
+ # paging.
6968
7033
  #
6969
7034
  # @option params [String] :next_token
6970
7035
  # A token to specify where to start paginating. Use the `nextToken`
@@ -7076,7 +7141,11 @@ module Aws::Imagebuilder
7076
7141
  # response contains an empty list.
7077
7142
  #
7078
7143
  # @option params [Integer] :max_results
7079
- # The maximum number of items to return in a single request.
7144
+ # The maximum number of items to return in a single request. If you
7145
+ # don't specify a value, Image Builder returns up to 25 items. The
7146
+ # largest page size that you can request is 100 items. A page can
7147
+ # contain fewer items than the maximum, with a `nextToken` to continue
7148
+ # paging.
7080
7149
  #
7081
7150
  # @option params [String] :next_token
7082
7151
  # A token to specify where to start paginating. Use the `nextToken`
@@ -7155,7 +7224,11 @@ module Aws::Imagebuilder
7155
7224
  # Retrieves the lifecycle runtime history for the specified resource.
7156
7225
  #
7157
7226
  # @option params [Integer] :max_results
7158
- # The maximum number of items to return in a single request.
7227
+ # The maximum number of items to return in a single request. If you
7228
+ # don't specify a value, Image Builder returns up to 25 items. The
7229
+ # largest page size that you can request is 100 items. A page can
7230
+ # contain fewer items than the maximum, with a `nextToken` to continue
7231
+ # paging.
7159
7232
  #
7160
7233
  # @option params [String] :next_token
7161
7234
  # A token to specify where to start paginating. Use the `nextToken`
@@ -7240,7 +7313,11 @@ module Aws::Imagebuilder
7240
7313
  # shown.
7241
7314
  #
7242
7315
  # @option params [Integer] :max_results
7243
- # The maximum number of items to return in a single request.
7316
+ # The maximum number of items to return in a single request. If you
7317
+ # don't specify a value, Image Builder returns up to 25 items. The
7318
+ # largest page size that you can request is 100 items. A page can
7319
+ # contain fewer items than the maximum, with a `nextToken` to continue
7320
+ # paging.
7244
7321
  #
7245
7322
  # @option params [String] :next_token
7246
7323
  # A token to specify where to start paginating. Use the `nextToken`
@@ -7383,7 +7460,11 @@ module Aws::Imagebuilder
7383
7460
  # To send a response, call SendWorkflowStepAction.
7384
7461
  #
7385
7462
  # @option params [Integer] :max_results
7386
- # The maximum number of items to return in a single request.
7463
+ # The maximum number of items to return in a single request. If you
7464
+ # don't specify a value, Image Builder returns up to 25 items. The
7465
+ # largest page size that you can request is 100 items. A page can
7466
+ # contain fewer items than the maximum, with a `nextToken` to continue
7467
+ # paging.
7387
7468
  #
7388
7469
  # @option params [String] :next_token
7389
7470
  # A token to specify where to start paginating. Use the `nextToken`
@@ -7459,7 +7540,11 @@ module Aws::Imagebuilder
7459
7540
  # the workflows in your account.
7460
7541
  #
7461
7542
  # @option params [Integer] :max_results
7462
- # The maximum number of items to return in a single request.
7543
+ # The maximum number of items to return in a single request. If you
7544
+ # don't specify a value, Image Builder returns up to 25 items. The
7545
+ # largest page size that you can request is 100 items. A page can
7546
+ # contain fewer items than the maximum, with a `nextToken` to continue
7547
+ # paging.
7463
7548
  #
7464
7549
  # @option params [String] :next_token
7465
7550
  # A token to specify where to start paginating. Use the `nextToken`
@@ -7546,7 +7631,11 @@ module Aws::Imagebuilder
7546
7631
  # specific image build version.
7547
7632
  #
7548
7633
  # @option params [Integer] :max_results
7549
- # The maximum number of items to return in a single request.
7634
+ # The maximum number of items to return in a single request. If you
7635
+ # don't specify a value, Image Builder returns up to 25 items. The
7636
+ # largest page size that you can request is 100 items. A page can
7637
+ # contain fewer items than the maximum, with a `nextToken` to continue
7638
+ # paging.
7550
7639
  #
7551
7640
  # @option params [String] :next_token
7552
7641
  # A token to specify where to start paginating. Use the `nextToken`
@@ -7652,7 +7741,11 @@ module Aws::Imagebuilder
7652
7741
  # workflow that you specify in the request.
7653
7742
  #
7654
7743
  # @option params [Integer] :max_results
7655
- # The maximum number of items to return in a single request.
7744
+ # The maximum number of items to return in a single request. If you
7745
+ # don't specify a value, Image Builder returns up to 25 items. The
7746
+ # largest page size that you can request is 100 items. A page can
7747
+ # contain fewer items than the maximum, with a `nextToken` to continue
7748
+ # paging.
7656
7749
  #
7657
7750
  # @option params [String] :next_token
7658
7751
  # A token to specify where to start paginating. Use the `nextToken`
@@ -7822,7 +7915,11 @@ module Aws::Imagebuilder
7822
7915
  # with the `version` filter.
7823
7916
  #
7824
7917
  # @option params [Integer] :max_results
7825
- # The maximum number of items to return in a single request.
7918
+ # The maximum number of items to return in a single request. If you
7919
+ # don't specify a value, Image Builder returns up to 25 items. The
7920
+ # largest page size that you can request is 100 items. A page can
7921
+ # contain fewer items than the maximum, with a `nextToken` to continue
7922
+ # paging.
7826
7923
  #
7827
7924
  # @option params [String] :next_token
7828
7925
  # A token to specify where to start paginating. Use the `nextToken`
@@ -8617,8 +8714,9 @@ module Aws::Imagebuilder
8617
8714
  # Regions, accounts, and settings for each Region.
8618
8715
  #
8619
8716
  # <note markdown="1"> This operation doesn't support selective updates. The request
8620
- # replaces the stored configuration, so include every setting that you
8621
- # 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.
8622
8720
  #
8623
8721
  # </note>
8624
8722
  #
@@ -8773,10 +8871,10 @@ module Aws::Imagebuilder
8773
8871
  # `imageRecipeArn`. The recipe must be the same type, image or
8774
8872
  # container, as the pipeline's current recipe.
8775
8873
  #
8776
- # <note markdown="1"> UpdateImagePipeline does not support selective updates. The request
8777
- # replaces the pipeline's entire configuration, so include every
8778
- # setting that you want to keep. Any optional property that you omit is
8779
- # 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.
8780
8878
  #
8781
8879
  # </note>
8782
8880
  #
@@ -8848,8 +8946,11 @@ module Aws::Imagebuilder
8848
8946
  #
8849
8947
  # @option params [Array<Types::WorkflowConfiguration>] :workflows
8850
8948
  # The array of workflow configuration objects for builds that this
8851
- # pipeline starts. You must also specify `executionRole` when you
8852
- # 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.
8853
8954
  #
8854
8955
  # @option params [Types::PipelineLoggingConfiguration] :logging_configuration
8855
8956
  # Specifies the logging configuration for the image pipeline. Use this
@@ -8979,8 +9080,9 @@ module Aws::Imagebuilder
8979
9080
  # and tests your image.
8980
9081
  #
8981
9082
  # <note markdown="1"> This operation doesn't support selective updates. The request
8982
- # replaces the configuration, so include every setting that you want to
8983
- # 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.
8984
9086
  #
8985
9087
  # </note>
8986
9088
  #
@@ -9193,10 +9295,15 @@ module Aws::Imagebuilder
9193
9295
  req.send_request(options)
9194
9296
  end
9195
9297
 
9196
- # Updates the specified lifecycle policy. The request replaces the
9197
- # existing policy configuration rather than merging changes, so
9198
- # re-specify every setting that you want to keep. The `resourceType`
9199
- # 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>
9200
9307
  #
9201
9308
  # @option params [required, String] :lifecycle_policy_arn
9202
9309
  # The Amazon Resource Name (ARN) of the lifecycle policy resource.
@@ -9376,14 +9483,127 @@ module Aws::Imagebuilder
9376
9483
  tracer: tracer
9377
9484
  )
9378
9485
  context[:gem_name] = 'aws-sdk-imagebuilder'
9379
- context[:gem_version] = '1.123.0'
9486
+ context[:gem_version] = '1.125.0'
9380
9487
  Seahorse::Client::Request.new(handlers, context)
9381
9488
  end
9382
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
+
9383
9584
  # @api private
9384
9585
  # @deprecated
9385
9586
  def waiter_names
9386
- []
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
+ }
9387
9607
  end
9388
9608
 
9389
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,10 +3283,21 @@ 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
3286
3296
  # The filter values. Filter values are case-sensitive.
3297
+ #
3298
+ # The `name` filter can use a wildcard: `web*` matches names that
3299
+ # begin with `web`, and `*web*` matches names that contain `web`. The
3300
+ # wildcard isn't supported in other positions or in other filters.
3287
3301
  # @return [Array<String>]
3288
3302
  #
3289
3303
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Filter AWS API Documentation
@@ -4995,9 +5009,10 @@ module Aws::Imagebuilder
4995
5009
  # Amazon ECR repository from your `ecrConfiguration` settings.
4996
5010
  #
4997
5011
  # To use container image scans, you must activate Amazon Inspector for
4998
- # Amazon ECR scanning in your account. The Image Builder
4999
- # `ListImageScanFindings` operation returns the findings of these
5000
- # 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.
5001
5016
  # @return [Boolean]
5002
5017
  #
5003
5018
  # @!attribute [rw] ecr_configuration
@@ -5012,8 +5027,9 @@ module Aws::Imagebuilder
5012
5027
  #
5013
5028
  # * With `TEST_INSTANCE_CVE`, Amazon Inspector scans the test instance
5014
5029
  # during image tests. To use this scan, you must activate Amazon
5015
- # Inspector for Amazon EC2 scanning in your account. The Image
5016
- # 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.
5017
5033
  #
5018
5034
  # * With `ON_DEMAND_AMI_CVE`, Amazon Inspector starts an on-demand
5019
5035
  # scan of the output AMI during image tests. To use this scan, you
@@ -6833,10 +6849,17 @@ module Aws::Imagebuilder
6833
6849
  # ARN must specify an exact version, without a build number suffix. If
6834
6850
  # you don't specify an ARN, Image Builder returns build versions for
6835
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.
6836
6855
  # @return [String]
6837
6856
  #
6838
6857
  # @!attribute [rw] max_results
6839
- # The maximum number of items to return in a single request.
6858
+ # The maximum number of items to return in a single request. If you
6859
+ # don't specify a value, Image Builder returns up to 25 items. The
6860
+ # largest page size that you can request is 100 items. A page can
6861
+ # contain fewer items than the maximum, with a `nextToken` to continue
6862
+ # paging.
6840
6863
  # @return [Integer]
6841
6864
  #
6842
6865
  # @!attribute [rw] next_token
@@ -6919,7 +6942,11 @@ module Aws::Imagebuilder
6919
6942
  # @return [Boolean]
6920
6943
  #
6921
6944
  # @!attribute [rw] max_results
6922
- # The maximum number of items to return in a single request.
6945
+ # The maximum number of items to return in a single request. If you
6946
+ # don't specify a value, Image Builder returns up to 25 items. The
6947
+ # largest page size that you can request is 100 items. A page can
6948
+ # contain fewer items than the maximum, with a `nextToken` to continue
6949
+ # paging.
6923
6950
  # @return [Integer]
6924
6951
  #
6925
6952
  # @!attribute [rw] next_token
@@ -6990,7 +7017,11 @@ module Aws::Imagebuilder
6990
7017
  # @return [Array<Types::Filter>]
6991
7018
  #
6992
7019
  # @!attribute [rw] max_results
6993
- # The maximum number of items to return in a single request.
7020
+ # The maximum number of items to return in a single request. If you
7021
+ # don't specify a value, Image Builder returns up to 25 items. The
7022
+ # largest page size that you can request is 100 items. A page can
7023
+ # contain fewer items than the maximum, with a `nextToken` to continue
7024
+ # paging.
6994
7025
  # @return [Integer]
6995
7026
  #
6996
7027
  # @!attribute [rw] next_token
@@ -7039,7 +7070,11 @@ module Aws::Imagebuilder
7039
7070
  # @return [Array<Types::Filter>]
7040
7071
  #
7041
7072
  # @!attribute [rw] max_results
7042
- # The maximum number of items to return in a single request.
7073
+ # The maximum number of items to return in a single request. If you
7074
+ # don't specify a value, Image Builder returns up to 25 items. The
7075
+ # largest page size that you can request is 100 items. A page can
7076
+ # contain fewer items than the maximum, with a `nextToken` to continue
7077
+ # paging.
7043
7078
  # @return [Integer]
7044
7079
  #
7045
7080
  # @!attribute [rw] next_token
@@ -7088,6 +7123,9 @@ module Aws::Imagebuilder
7088
7123
  # (`<major>.<minor>.<patch>`) - wildcards aren't allowed. This
7089
7124
  # parameter is optional. If you don't specify it, Image Builder
7090
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.
7091
7129
  # @return [String]
7092
7130
  #
7093
7131
  # @!attribute [rw] filters
@@ -7105,7 +7143,11 @@ module Aws::Imagebuilder
7105
7143
  # @return [Array<Types::Filter>]
7106
7144
  #
7107
7145
  # @!attribute [rw] max_results
7108
- # The maximum number of items to return in a single request.
7146
+ # The maximum number of items to return in a single request. If you
7147
+ # don't specify a value, Image Builder returns up to 25 items. The
7148
+ # largest page size that you can request is 100 items. A page can
7149
+ # contain fewer items than the maximum, with a `nextToken` to continue
7150
+ # paging.
7109
7151
  # @return [Integer]
7110
7152
  #
7111
7153
  # @!attribute [rw] next_token
@@ -7156,7 +7198,11 @@ module Aws::Imagebuilder
7156
7198
  # @return [String]
7157
7199
  #
7158
7200
  # @!attribute [rw] max_results
7159
- # The maximum number of items to return in a single request.
7201
+ # The maximum number of items to return in a single request. If you
7202
+ # don't specify a value, Image Builder returns up to 25 items. The
7203
+ # largest page size that you can request is 100 items. A page can
7204
+ # contain fewer items than the maximum, with a `nextToken` to continue
7205
+ # paging.
7160
7206
  # @return [Integer]
7161
7207
  #
7162
7208
  # @!attribute [rw] next_token
@@ -7202,6 +7248,9 @@ module Aws::Imagebuilder
7202
7248
  # @!attribute [rw] image_pipeline_arn
7203
7249
  # The Amazon Resource Name (ARN) of the image pipeline whose images
7204
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.
7205
7254
  # @return [String]
7206
7255
  #
7207
7256
  # @!attribute [rw] filters
@@ -7213,7 +7262,11 @@ module Aws::Imagebuilder
7213
7262
  # @return [Array<Types::Filter>]
7214
7263
  #
7215
7264
  # @!attribute [rw] max_results
7216
- # The maximum number of items to return in a single request.
7265
+ # The maximum number of items to return in a single request. If you
7266
+ # don't specify a value, Image Builder returns up to 25 items. The
7267
+ # largest page size that you can request is 100 items. A page can
7268
+ # contain fewer items than the maximum, with a `nextToken` to continue
7269
+ # paging.
7217
7270
  # @return [Integer]
7218
7271
  #
7219
7272
  # @!attribute [rw] next_token
@@ -7274,7 +7327,11 @@ module Aws::Imagebuilder
7274
7327
  # @return [Array<Types::Filter>]
7275
7328
  #
7276
7329
  # @!attribute [rw] max_results
7277
- # The maximum number of items to return in a single request.
7330
+ # The maximum number of items to return in a single request. If you
7331
+ # don't specify a value, Image Builder returns up to 25 items. The
7332
+ # largest page size that you can request is 100 items. A page can
7333
+ # contain fewer items than the maximum, with a `nextToken` to continue
7334
+ # paging.
7278
7335
  # @return [Integer]
7279
7336
  #
7280
7337
  # @!attribute [rw] next_token
@@ -7335,7 +7392,11 @@ module Aws::Imagebuilder
7335
7392
  # @return [Array<Types::Filter>]
7336
7393
  #
7337
7394
  # @!attribute [rw] max_results
7338
- # The maximum number of items to return in a single request.
7395
+ # The maximum number of items to return in a single request. If you
7396
+ # don't specify a value, Image Builder returns up to 25 items. The
7397
+ # largest page size that you can request is 100 items. A page can
7398
+ # contain fewer items than the maximum, with a `nextToken` to continue
7399
+ # paging.
7339
7400
  # @return [Integer]
7340
7401
  #
7341
7402
  # @!attribute [rw] next_token
@@ -7478,7 +7539,11 @@ module Aws::Imagebuilder
7478
7539
  # @return [Array<Types::ImageScanFindingsFilter>]
7479
7540
  #
7480
7541
  # @!attribute [rw] max_results
7481
- # The maximum number of items to return in a single request.
7542
+ # The maximum number of items to return in a single request. If you
7543
+ # don't specify a value, Image Builder returns up to 25 items. The
7544
+ # largest page size that you can request is 100 items. A page can
7545
+ # contain fewer items than the maximum, with a `nextToken` to continue
7546
+ # paging.
7482
7547
  # @return [Integer]
7483
7548
  #
7484
7549
  # @!attribute [rw] next_token
@@ -7550,7 +7615,11 @@ module Aws::Imagebuilder
7550
7615
  # @return [Boolean]
7551
7616
  #
7552
7617
  # @!attribute [rw] max_results
7553
- # The maximum number of items to return in a single request.
7618
+ # The maximum number of items to return in a single request. If you
7619
+ # don't specify a value, Image Builder returns up to 25 items. The
7620
+ # largest page size that you can request is 100 items. A page can
7621
+ # contain fewer items than the maximum, with a `nextToken` to continue
7622
+ # paging.
7554
7623
  # @return [Integer]
7555
7624
  #
7556
7625
  # @!attribute [rw] next_token
@@ -7618,7 +7687,11 @@ module Aws::Imagebuilder
7618
7687
  # @return [Array<Types::Filter>]
7619
7688
  #
7620
7689
  # @!attribute [rw] max_results
7621
- # The maximum number of items to return in a single request.
7690
+ # The maximum number of items to return in a single request. If you
7691
+ # don't specify a value, Image Builder returns up to 25 items. The
7692
+ # largest page size that you can request is 100 items. A page can
7693
+ # contain fewer items than the maximum, with a `nextToken` to continue
7694
+ # paging.
7622
7695
  # @return [Integer]
7623
7696
  #
7624
7697
  # @!attribute [rw] next_token
@@ -7678,7 +7751,11 @@ module Aws::Imagebuilder
7678
7751
  # @return [String]
7679
7752
  #
7680
7753
  # @!attribute [rw] max_results
7681
- # The maximum number of items to return in a single request.
7754
+ # The maximum number of items to return in a single request. If you
7755
+ # don't specify a value, Image Builder returns up to 25 items. The
7756
+ # largest page size that you can request is 100 items. A page can
7757
+ # contain fewer items than the maximum, with a `nextToken` to continue
7758
+ # paging.
7682
7759
  # @return [Integer]
7683
7760
  #
7684
7761
  # @!attribute [rw] next_token
@@ -7729,7 +7806,11 @@ module Aws::Imagebuilder
7729
7806
  end
7730
7807
 
7731
7808
  # @!attribute [rw] max_results
7732
- # The maximum number of items to return in a single request.
7809
+ # The maximum number of items to return in a single request. If you
7810
+ # don't specify a value, Image Builder returns up to 25 items. The
7811
+ # largest page size that you can request is 100 items. A page can
7812
+ # contain fewer items than the maximum, with a `nextToken` to continue
7813
+ # paging.
7733
7814
  # @return [Integer]
7734
7815
  #
7735
7816
  # @!attribute [rw] next_token
@@ -7782,7 +7863,11 @@ module Aws::Imagebuilder
7782
7863
  # @return [Array<Types::Filter>]
7783
7864
  #
7784
7865
  # @!attribute [rw] max_results
7785
- # The maximum number of items to return in a single request.
7866
+ # The maximum number of items to return in a single request. If you
7867
+ # don't specify a value, Image Builder returns up to 25 items. The
7868
+ # largest page size that you can request is 100 items. A page can
7869
+ # contain fewer items than the maximum, with a `nextToken` to continue
7870
+ # paging.
7786
7871
  # @return [Integer]
7787
7872
  #
7788
7873
  # @!attribute [rw] next_token
@@ -7847,7 +7932,11 @@ module Aws::Imagebuilder
7847
7932
  end
7848
7933
 
7849
7934
  # @!attribute [rw] max_results
7850
- # The maximum number of items to return in a single request.
7935
+ # The maximum number of items to return in a single request. If you
7936
+ # don't specify a value, Image Builder returns up to 25 items. The
7937
+ # largest page size that you can request is 100 items. A page can
7938
+ # contain fewer items than the maximum, with a `nextToken` to continue
7939
+ # paging.
7851
7940
  # @return [Integer]
7852
7941
  #
7853
7942
  # @!attribute [rw] next_token
@@ -7896,7 +7985,11 @@ module Aws::Imagebuilder
7896
7985
  # @return [String]
7897
7986
  #
7898
7987
  # @!attribute [rw] max_results
7899
- # The maximum number of items to return in a single request.
7988
+ # The maximum number of items to return in a single request. If you
7989
+ # don't specify a value, Image Builder returns up to 25 items. The
7990
+ # largest page size that you can request is 100 items. A page can
7991
+ # contain fewer items than the maximum, with a `nextToken` to continue
7992
+ # paging.
7900
7993
  # @return [Integer]
7901
7994
  #
7902
7995
  # @!attribute [rw] next_token
@@ -7936,7 +8029,11 @@ module Aws::Imagebuilder
7936
8029
  end
7937
8030
 
7938
8031
  # @!attribute [rw] max_results
7939
- # The maximum number of items to return in a single request.
8032
+ # The maximum number of items to return in a single request. If you
8033
+ # don't specify a value, Image Builder returns up to 25 items. The
8034
+ # largest page size that you can request is 100 items. A page can
8035
+ # contain fewer items than the maximum, with a `nextToken` to continue
8036
+ # paging.
7940
8037
  # @return [Integer]
7941
8038
  #
7942
8039
  # @!attribute [rw] next_token
@@ -8002,7 +8099,11 @@ module Aws::Imagebuilder
8002
8099
  end
8003
8100
 
8004
8101
  # @!attribute [rw] max_results
8005
- # The maximum number of items to return in a single request.
8102
+ # The maximum number of items to return in a single request. If you
8103
+ # don't specify a value, Image Builder returns up to 25 items. The
8104
+ # largest page size that you can request is 100 items. A page can
8105
+ # contain fewer items than the maximum, with a `nextToken` to continue
8106
+ # paging.
8006
8107
  # @return [Integer]
8007
8108
  #
8008
8109
  # @!attribute [rw] next_token
@@ -8096,7 +8197,11 @@ module Aws::Imagebuilder
8096
8197
  # @return [Boolean]
8097
8198
  #
8098
8199
  # @!attribute [rw] max_results
8099
- # The maximum number of items to return in a single request.
8200
+ # The maximum number of items to return in a single request. If you
8201
+ # don't specify a value, Image Builder returns up to 25 items. The
8202
+ # largest page size that you can request is 100 items. A page can
8203
+ # contain fewer items than the maximum, with a `nextToken` to continue
8204
+ # paging.
8100
8205
  # @return [Integer]
8101
8206
  #
8102
8207
  # @!attribute [rw] next_token
@@ -9533,8 +9638,11 @@ module Aws::Imagebuilder
9533
9638
  #
9534
9639
  # @!attribute [rw] workflows
9535
9640
  # The array of workflow configuration objects for builds that this
9536
- # pipeline starts. You must also specify `executionRole` when you
9537
- # 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.
9538
9646
  # @return [Array<Types::WorkflowConfiguration>]
9539
9647
  #
9540
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.123.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.123.0
4
+ version: 1.125.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.267.0
21
+ version: 3.268.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.267.0
31
+ version: 3.268.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -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