airflow.providers.amazon.aws.hooks.glacier

Module Contents

Classes

GlacierHook

Hook for connection 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

Hook for connection with Amazon Glacier

retrieve_inventory(vault_name)[source]

Initiate an Amazon Glacier inventory-retrieval job

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

Parameters
  • vault_name (str) -- the Glacier vault on which job is executed

  • job_id (str) -- the job ID was returned by retrieve_inventory()

describe_job(vault_name, job_id)[source]

Retrieve the status of an Amazon S3 Glacier job, such as an inventory-retrieval job

Parameters
  • vault_name (str) -- the Glacier vault on which job is executed

  • job_id (str) -- the job ID was returned by retrieve_inventory()

Was this entry helpful?