blob: 4e577d46ad4ece4ddf4940f94766f8b85481b286 [file] [log] [blame]
:py:mod:`airflow.providers.amazon.aws.hooks.glacier`
====================================================
.. py:module:: airflow.providers.amazon.aws.hooks.glacier
Module Contents
---------------
Classes
~~~~~~~
.. autoapisummary::
airflow.providers.amazon.aws.hooks.glacier.GlacierHook
.. py:class:: GlacierHook(aws_conn_id = 'aws_default')
Bases: :py:obj:`airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook`
Hook for connection with Amazon Glacier
.. py:method:: retrieve_inventory(self, vault_name)
Initiate an Amazon Glacier inventory-retrieval job
:param vault_name: the Glacier vault on which job is executed
.. py:method:: retrieve_inventory_results(self, vault_name, job_id)
Retrieve the results of an Amazon Glacier inventory-retrieval job
:param vault_name: the Glacier vault on which job is executed
:param job_id: the job ID was returned by retrieve_inventory()
.. py:method:: describe_job(self, vault_name, job_id)
Retrieve the status of an Amazon S3 Glacier job, such as an
inventory-retrieval job
:param vault_name: the Glacier vault on which job is executed
:param job_id: the job ID was returned by retrieve_inventory()