vincbeck commented on code in PR #27812:
URL: https://github.com/apache/airflow/pull/27812#discussion_r1029564951
##########
docs/apache-airflow-providers-amazon/operators/s3.rst:
##########
@@ -190,6 +190,21 @@ You can specify a ``prefix`` to filter the objects whose
name begins with such p
:start-after: [START howto_operator_s3_list]
:end-before: [END howto_operator_s3_list]
+
+Get Amazon S3 one object
+======================
Review Comment:
```suggestion
Get Amazon S3 object
======================
```
##########
docs/apache-airflow-providers-amazon/operators/s3.rst:
##########
@@ -190,6 +190,21 @@ You can specify a ``prefix`` to filter the objects whose
name begins with such p
:start-after: [START howto_operator_s3_list]
:end-before: [END howto_operator_s3_list]
+
Review Comment:
```suggestion
.. _howto/operator:S3GetObjectOperator:
```
##########
airflow/providers/amazon/aws/operators/s3.py:
##########
@@ -757,3 +757,36 @@ def execute(self, context: Context):
)
return hook.list_prefixes(bucket_name=self.bucket, prefix=self.prefix,
delimiter=self.delimiter)
+
+class S3GetObejectOperator(BaseOperator):
Review Comment:
```suggestion
class S3GetObjectOperator(BaseOperator):
```
##########
docs/apache-airflow-providers-amazon/operators/s3.rst:
##########
@@ -190,6 +190,21 @@ You can specify a ``prefix`` to filter the objects whose
name begins with such p
:start-after: [START howto_operator_s3_list]
:end-before: [END howto_operator_s3_list]
+
+Get Amazon S3 one object
+======================
+
+To one Amazon S3 object within an Amazon S3 bucket you can use
Review Comment:
```suggestion
To read one Amazon S3 object within an Amazon S3 bucket you can use
```
##########
airflow/providers/amazon/aws/operators/s3.py:
##########
@@ -757,3 +757,36 @@ def execute(self, context: Context):
)
return hook.list_prefixes(bucket_name=self.bucket, prefix=self.prefix,
delimiter=self.delimiter)
+
+class S3GetObejectOperator(BaseOperator):
+ """
+ Get object from `key-path` as string.
+
Review Comment:
```suggestion
.. seealso::
For more information on how to use this operator, take a look at the
guide:
:ref:`howto/operator:S3GetObjectOperator`
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]