ferruzzi commented on code in PR #30501:
URL: https://github.com/apache/airflow/pull/30501#discussion_r1180587844


##########
airflow/providers/amazon/aws/transfers/dynamodb_to_s3.py:
##########
@@ -158,16 +156,7 @@ def _export_table_to_point_in_time(self):
             S3Prefix=self.s3_key_prefix,
             ExportFormat=self.export_format,
         )
-        credentials = self.hook.get_credentials()
-        waiter = self.hook.get_waiter(
-            "export_table",
-            client=boto3.client(
-                "dynamodb",
-                region_name=client.meta.region_name,
-                aws_access_key_id=credentials.access_key,
-                aws_secret_access_key=credentials.secret_key,
-            ),
-        )

Review Comment:
   :heart: 



-- 
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]

Reply via email to