formatting

This commit is contained in:
Hossein Shafagh 2020-10-16 10:31:19 -07:00
parent 9c04a888d8
commit 11ce540246
2 changed files with 7 additions and 2 deletions

View File

@ -427,4 +427,9 @@ class S3DestinationPlugin(ExportDestinationPlugin):
if not prefix.endswith("/"): if not prefix.endswith("/"):
prefix + "/" prefix + "/"
s3.put(bucket_name, region, prefix + filename, token, encrypt=False, account_number=account_number) s3.put(bucket_name=bucket_name,
region_name=region,
prefix=prefix + filename,
data=token,
encrypt=False,
account_number=account_number)

View File

@ -14,7 +14,7 @@ from .sts import sts_client
@sts_client("s3", service_type="resource") @sts_client("s3", service_type="resource")
def put(bucket_name, region, prefix, data, encrypt, **kwargs): def put(bucket_name, region_name, prefix, data, encrypt, **kwargs):
""" """
Use STS to write to an S3 bucket Use STS to write to an S3 bucket
""" """