poseinterface.s3.upload_json_to_s3#

poseinterface.s3.upload_json_to_s3(data, bucket_name, key, aws_profile=None)[source]#

Upload a JSON object to S3.

Parameters:
  • data (dict) – Dictionary to serialize and upload.

  • bucket_name (str) – Name of the S3 bucket.

  • key (str) – S3 object key (path within the bucket).

  • aws_profile (str | None) – Optional AWS profile name to use for authentication.

Raises:

ClientError – If there are S3 access issues.

Return type:

None