AgentRegistryControl / Waiter / RegistryRecordApproved

RegistryRecordApproved

class AgentRegistryControl.Waiter.RegistryRecordApproved
waiter = client.get_waiter('registry_record_approved')
wait(**kwargs)

Polls AgentRegistryControl.Client.get_registry_record() 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(
    registryId='string',
    recordId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • registryId (string) –

    [REQUIRED]

    The identifier of the registry containing the record (ARN or ID)

  • recordId (string) –

    [REQUIRED]

    The identifier of the registry record to retrieve (ARN or 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: 30

    • MaxAttempts (integer) –

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

Returns:

None