formatting
This commit is contained in:
parent
9c04a888d8
commit
11ce540246
@ -427,4 +427,9 @@ class S3DestinationPlugin(ExportDestinationPlugin):
|
||||
if not prefix.endswith("/"):
|
||||
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)
|
||||
|
@ -14,7 +14,7 @@ from .sts import sts_client
|
||||
|
||||
|
||||
@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
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user