Class: Aws::Imagebuilder::Waiters::ImageAvailable
- Inherits:
-
Object
- Object
- Aws::Imagebuilder::Waiters::ImageAvailable
- Defined in:
- lib/aws-sdk-imagebuilder/waiters.rb,
sig/waiters.rbs
Overview
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.
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ ImageAvailable
constructor
A new instance of ImageAvailable.
-
#wait(params = {}) ⇒ Types::GetImageResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ ImageAvailable
Returns a new instance of ImageAvailable.
85 86 |
# File 'lib/aws-sdk-imagebuilder/waiters.rb', line 85
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
| (?Hash[Symbol, untyped]) -> void
|
Instance Attribute Details
#waiter ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
123 124 125 |
# File 'lib/aws-sdk-imagebuilder/waiters.rb', line 123 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::GetImageResponse
Returns a response object which responds to the following methods:
- #request_id => String
- #image => Types::Image
- #latest_version_references => Types::LatestVersionReferences
118 119 120 121 |
# File 'lib/aws-sdk-imagebuilder/waiters.rb', line 118
def wait: (
image_build_version_arn: ::String
) -> Client::_GetImageResponseSuccess
| (Hash[Symbol, untyped]) -> Client::_GetImageResponseSuccess
|