hankehly commented on code in PR #26003: URL: https://github.com/apache/airflow/pull/26003#discussion_r956548480
########## docs/apache-airflow-providers-amazon/operators/rds.rst: ########## @@ -169,6 +169,22 @@ To delete a AWS DB instance you can use Sensors ------- +.. _howto/sensor:RdsInstanceSensor: + +Wait on an Amazon RDS instance status +===================================== + +To wait for an Amazon RDS instance with specific statuses you can use +:class:`~airflow.providers.amazon.aws.sensors.rds.RdsInstanceSensor`. +By default, the sensor waits for the existence of a snapshot with status ``available``. + +.. exampleinclude:: /../../tests/system/providers/amazon/aws/rds/example_rds_instance.py + :language: python + :dedent: 4 + :start-after: [START howto_sensor_rds_instance] + :end-before: [END howto_sensor_rds_instance] + Review Comment:  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
