MCPcopy Create free account
hub / github.com/aws/aws-cli / add_s3express_defaults

Function add_s3express_defaults

awscli/s3transfer/utils.py:813–820  ·  view source on GitHub ↗

This function has been deprecated, but is kept for backwards compatibility. This function is subject to removal in a future release.

(bucket, extra_args)

Source from the content-addressed store, hash-verified

811
812
813def add_s3express_defaults(bucket, extra_args):
814 """
815 This function has been deprecated, but is kept for backwards compatibility.
816 This function is subject to removal in a future release.
817 """
818 if is_s3express_bucket(bucket) and "ChecksumAlgorithm" not in extra_args:
819 # Default Transfer Operations to S3Express to use CRC32
820 extra_args["ChecksumAlgorithm"] = "crc32"
821
822
823def set_default_checksum_algorithm(extra_args):

Callers

nothing calls this directly

Calls 1

is_s3express_bucketFunction · 0.90

Tested by

no test coverage detected