airflow.providers.amazon.aws.hooks.glacier
¶
Module Contents¶
Classes¶
Interact with Amazon Glacier. |
- class airflow.providers.amazon.aws.hooks.glacier.GlacierHook(aws_conn_id='aws_default')[source]¶
Bases:
airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook
Interact with Amazon Glacier. Provide thin wrapper around
boto3.client("glacier")
.Additional arguments (such as
aws_conn_id
) may be specified and are passed down to the underlying AwsBaseHook.- retrieve_inventory(vault_name)[source]¶
Initiate an Amazon Glacier inventory-retrieval job
See also
- Parameters
vault_name (str) – the Glacier vault on which job is executed
- retrieve_inventory_results(vault_name, job_id)[source]¶
Retrieve the results of an Amazon Glacier inventory-retrieval job
See also