MediaLive / Waiter / ChannelCreated

ChannelCreated#

class MediaLive.Waiter.ChannelCreated#
waiter = client.get_waiter('channel_created')
wait(**kwargs)#

Polls MediaLive.Client.describe_channel() every 3 seconds until a successful state is reached. An error is returned after 5 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    ChannelId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • ChannelId (string) – [REQUIRED] channel ID

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

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

    • MaxAttempts (integer) –

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

Returns:

None