Class: Aws::Inspector2::Waiters::ConnectorEnabled
- Inherits:
-
Object
- Object
- Aws::Inspector2::Waiters::ConnectorEnabled
- Defined in:
- lib/aws-sdk-inspector2/waiters.rb,
sig/waiters.rbs
Overview
Wait until a connector reaches the ENABLED state, whether after CreateConnector or UpdateConnector. Caller MUST filter ListConnectors by the specific connector ARN so the matchers apply only to the target connector. Success when all returned items have enablementStatus == ENABLED. Failure when any item is in FAILED_TO_ENABLE or FAILED_TO_UPDATE.
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ ConnectorEnabled
constructor
A new instance of ConnectorEnabled.
-
#wait(params = {}) ⇒ Types::ListConnectorsResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ ConnectorEnabled
Returns a new instance of ConnectorEnabled.
183 184 |
# File 'lib/aws-sdk-inspector2/waiters.rb', line 183
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.
221 222 223 |
# File 'lib/aws-sdk-inspector2/waiters.rb', line 221 def waiter @waiter end |
Instance Method Details
#wait(params = {}) ⇒ Types::ListConnectorsResponse
Returns a response object which responds to the following methods:
- #items => Array<Types::Connector>
- #next_token => String
216 |
# File 'lib/aws-sdk-inspector2/waiters.rb', line 216
def wait: (
|