airflow.providers.amazon.aws.operators.glacier
¶
Module Contents¶
Classes¶
Initiate an Amazon Glacier inventory-retrieval job. |
|
This operator add an archive to an Amazon S3 Glacier vault. |
- class airflow.providers.amazon.aws.operators.glacier.GlacierCreateJobOperator(*, vault_name, **kwargs)[source]¶
Bases:
airflow.providers.amazon.aws.operators.base_aws.AwsBaseOperator
[airflow.providers.amazon.aws.hooks.glacier.GlacierHook
]Initiate an Amazon Glacier inventory-retrieval job.
See also
For more information on how to use this operator, take a look at the guide: Create an Amazon Glacier job
- Parameters
aws_conn_id – The reference to the AWS connection details
vault_name (str) – the Glacier vault on which job is executed
- template_fields: collections.abc.Sequence[str][source]¶
- class airflow.providers.amazon.aws.operators.glacier.GlacierUploadArchiveOperator(*, vault_name, body, checksum=None, archive_description=None, account_id=None, **kwargs)[source]¶
Bases:
airflow.providers.amazon.aws.operators.base_aws.AwsBaseOperator
[airflow.providers.amazon.aws.hooks.glacier.GlacierHook
]This operator add an archive to an Amazon S3 Glacier vault.
See also
For more information on how to use this operator, take a look at the guide: Upload archive to an Amazon Glacier
- Parameters
vault_name (str) – The name of the vault
body (object) – A bytes or seekable file-like object. The data to upload.
checksum (str | None) – The SHA256 tree hash of the data being uploaded. This parameter is automatically populated if it is not provided
archive_description (str | None) – The description of the archive you are uploading
account_id (str | None) – (Optional) AWS account ID of the account that owns the vault. Defaults to the credentials used to sign the request
aws_conn_id – The reference to the AWS connection details
- template_fields: collections.abc.Sequence[str][source]¶