Class: Aws::Inspector2::Waiters::ConnectorConnected
- Inherits:
-
Object
- Object
- Aws::Inspector2::Waiters::ConnectorConnected
- Defined in:
- lib/aws-sdk-inspector2/waiters.rb,
sig/waiters.rbs
Overview
Wait until a connector reaches the CONNECTED health status, typically after CreateConnector or UpdateConnector + ConnectorEnabled. Caller MUST filter ListConnectors by the specific connector ARN so the matchers apply only to the target connector. Success when all returned items have health.connectorStatus == CONNECTED. Failure when any item is in health.connectorStatus == FAILED_TO_CONNECT or enablementStatus == FAILED_TO_ENABLE.
Instance Attribute Summary collapse
- #waiter ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(options) ⇒ ConnectorConnected
constructor
A new instance of ConnectorConnected.
-
#wait(params = {}) ⇒ Types::ListConnectorsResponse
Returns a response object which responds to the following methods:.
Constructor Details
#initialize(options) ⇒ ConnectorConnected
Returns a new instance of ConnectorConnected.
87 88 |
# File 'lib/aws-sdk-inspector2/waiters.rb', line 87
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.
125 126 127 |
# File 'lib/aws-sdk-inspector2/waiters.rb', line 125 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
120 |
# File 'lib/aws-sdk-inspector2/waiters.rb', line 120
def wait: (
|