vincbeck commented on a change in pull request #22489:
URL: https://github.com/apache/airflow/pull/22489#discussion_r833432250
##########
File path:
docs/apache-airflow-providers-amazon/operators/transfer/salesforce_to_s3.rst
##########
@@ -15,35 +15,33 @@
specific language governing permissions and limitations
under the License.
-Salesforce To S3 Operator
-==============================
-
-.. _howto/operator:SalesforceToS3Operator:
-
-Overview
---------
+Salesforce To Amazon S3 Transfer Operator
+=========================================
Use the
:class:`~airflow.providers.amazon.aws.transfers.salesforce_to_s3.SalesforceToS3Operator`
-to execute a Salesforce query to fetch data and upload to S3. The results of
the query
-are initially written to a local, temporary directory and then uploaded to an
S3 bucket.
+to execute a Salesforce query to fetch data and upload to an Amazon S3 bucket.
+
+Prerequisite Tasks
+^^^^^^^^^^^^^^^^^^
-Extract Customer Data from Salesforce
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+.. include:: ../_partials/prerequisite_tasks.rst
-The following example demonstrates a use case of extracting customer data from
a Salesforce
-instance and upload to a "landing" bucket in S3.
+.. _howto/operator:SalesforceToS3Operator:
+
+Extract Account data from Salesforce
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+The following example demonstrates a use case of extracting account data from
a Salesforce
+instance and upload to an Amazon S3 bucket.
.. exampleinclude::
/../../airflow/providers/amazon/aws/example_dags/example_salesforce_to_s3.py
:language: python
- :start-after: [START howto_operator_salesforce_to_s3_transfer]
- :end-before: [END howto_operator_salesforce_to_s3_transfer]
+ :dedent: 4
+ :start-after: [START howto_transfer_salesforce_to_s3]
+ :end-before: [END howto_transfer_salesforce_to_s3]
Reference
---------
-This operator uses the
:class:`~airflow.providers.salesforce.hooks.salesforce.SalesforceHook`
-to interact with Salesforce. This hook is built with functionality from the
Simple Salesforce
-package.
-
-For further information, review the `Simple Salesforce Documentation
<https://simple-salesforce.readthedocs.io/en/latest/>`__.
Review comment:
It just, to me, kind of obvious information. Most of operator use hooks
under the hood to communicate with the underlying service. I just thought it
was useless but I am happy to put it back if you think otherwise
--
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]