| :py:mod:`airflow.providers.amazon.aws.utils.redshift` |
| ===================================================== |
| |
| .. py:module:: airflow.providers.amazon.aws.utils.redshift |
| |
| |
| Module Contents |
| --------------- |
| |
| |
| Functions |
| ~~~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.providers.amazon.aws.utils.redshift.build_credentials_block |
| |
| |
| |
| Attributes |
| ~~~~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.providers.amazon.aws.utils.redshift.log |
| |
| |
| .. py:data:: log |
| |
| |
| |
| |
| .. py:function:: build_credentials_block(credentials) |
| |
| Generate AWS credentials block for Redshift COPY and UNLOAD |
| commands, as noted in AWS docs |
| https://docs.aws.amazon.com/redshift/latest/dg/copy-parameters-authorization.html#copy-credentials |
| |
| :param credentials: ReadOnlyCredentials object from `botocore` |
| :return: str |
| |
| |