BedrockAgentCoreControl / Waiter / PolicyDeleted

PolicyDeleted

class BedrockAgentCoreControl.Waiter.PolicyDeleted
waiter = client.get_waiter('policy_deleted')
wait(**kwargs)

Polls BedrockAgentCoreControl.Client.get_policy() every 2 seconds until a successful state is reached. An error is raised after 60 failed checks.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The identifier of the policy engine that manages the policy to be retrieved.

  • policyId (string) –

    [REQUIRED]

    The unique identifier of the policy to be retrieved. This must be a valid policy ID that exists within the specified policy engine.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

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

    • MaxAttempts (integer) –

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

Returns:

None