airflow.providers.amazon.aws.hooks.rds
¶
Interact with AWS RDS.
Module Contents¶
Classes¶
Interact with Amazon Relational Database Service (RDS). |
- class airflow.providers.amazon.aws.hooks.rds.RdsHook(*args, **kwargs)[source]¶
Bases:
airflow.providers.amazon.aws.hooks.base_aws.AwsGenericHook
[mypy_boto3_rds.RDSClient
]Interact with Amazon Relational Database Service (RDS). Provide thin wrapper around
boto3.client("rds")
.Additional arguments (such as
aws_conn_id
) may be specified and are passed down to the underlying AwsBaseHook.See also
- get_db_snapshot_state(snapshot_id)[source]¶
Get the current state of a DB instance snapshot.
See also
- wait_for_db_snapshot_state(snapshot_id, target_state, check_interval=30, max_attempts=40)[source]¶
Polls DB Snapshots until the target state is reached. An error is raised after a max number of attempts.
See also
- wait_for_db_cluster_snapshot_state(snapshot_id, target_state, check_interval=30, max_attempts=40)[source]¶
Polls DB Cluster Snapshots until the target state is reached. An error is raised after a max number of attempts.
- get_export_task_state(export_task_id)[source]¶
Gets the current state of an RDS snapshot export to Amazon S3.
See also
- wait_for_export_task_state(export_task_id, target_state, check_interval=30, max_attempts=40)[source]¶
Polls export tasks until the target state is reached. An error is raised after a max number of attempts.
See also
- get_event_subscription_state(subscription_name)[source]¶
Gets the current state of an RDS snapshot export to Amazon S3.
- wait_for_event_subscription_state(subscription_name, target_state, check_interval=30, max_attempts=40)[source]¶
Polls Even Subscriptions until the target state is reached. An error is raised after a max number of attempts.
- wait_for_db_instance_state(db_instance_id, target_state, check_interval=30, max_attempts=40)[source]¶
Polls DB Instances until the target state is reached. An error is raised after a max number of attempts.
See also