Interconnect / Waiter / ConnectionAvailable

ConnectionAvailable

class Interconnect.Waiter.ConnectionAvailable
waiter = client.get_waiter('connection_available')
wait(**kwargs)

Polls Interconnect.Client.get_connection() every 30 seconds until a successful state is reached. An error is raised after 5 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    identifier='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • identifier (string) –

    [REQUIRED]

    The identifier of the requested Connection

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

      The amount of time in seconds to wait between attempts. Default: 30

    • MaxAttempts (integer) –

      The maximum number of attempts to be made. Default: 5

Returns:

None