awscli 1.36.40__py3-none-any.whl → 1.37.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of awscli might be problematic. Click here for more details.

awscli/__init__.py CHANGED
@@ -18,7 +18,7 @@ A Universal Command Line Environment for Amazon Web Services.
18
18
 
19
19
  import os
20
20
 
21
- __version__ = '1.36.40'
21
+ __version__ = '1.37.1'
22
22
 
23
23
  #
24
24
  # Get our data path to be added to botocore's search path
@@ -458,7 +458,7 @@ CHECKSUM_MODE = {
458
458
  }
459
459
 
460
460
  CHECKSUM_ALGORITHM = {
461
- 'name': 'checksum-algorithm', 'choices': ['CRC32', 'SHA256', 'SHA1', 'CRC32C'],
461
+ 'name': 'checksum-algorithm', 'choices': ['CRC64NVME', 'CRC32', 'SHA256', 'SHA1', 'CRC32C'],
462
462
  'help_text': 'Indicates the algorithm used to create the checksum for the object.'
463
463
  }
464
464
 
awscli/topics/s3-faq.rst CHANGED
@@ -13,32 +13,55 @@ Below are common questions regarding the use of Amazon S3 in the AWS CLI.
13
13
  Q: Does the AWS CLI validate checksums?
14
14
  ---------------------------------------
15
15
 
16
- The AWS CLI will perform checksum validation for uploading files in
17
- specific scenarios.
16
+ The AWS CLI will attempt to perform checksum validation for uploading and
17
+ downloading files, as described below.
18
18
 
19
19
  Upload
20
20
  ~~~~~~
21
21
 
22
- The AWS CLI will calculate and auto-populate the ``Content-MD5`` header for
23
- both standard and multipart uploads. If the checksum that S3 calculates does
24
- not match the ``Content-MD5`` provided, S3 will not store the object and
25
- instead will return an error message back the AWS CLI. The AWS CLI will retry
26
- this error up to 5 times before giving up. On the case that any files fail to
27
- transfer successfully to S3, the AWS CLI will exit with a non zero RC.
28
- See ``aws help return-codes`` for more information.
29
-
30
- If the upload request is signed with Signature Version 4, then the AWS CLI uses the
31
- ``x-amz-content-sha256`` header as a checksum instead of ``Content-MD5``.
32
- The AWS CLI will use Signature Version 4 for S3 in several cases:
33
-
34
- * You're using an AWS region that only supports Signature Version 4. This
35
- includes ``eu-central-1`` and ``ap-northeast-2``.
36
- * You explicitly opt in and set ``signature_version = s3v4`` in your
37
- ``~/.aws/config`` file.
38
-
39
- Note that the AWS CLI will add a ``Content-MD5`` header for both
40
- the high level ``aws s3`` commands that perform uploads
41
- (``aws s3 cp``, ``aws s3 sync``) as well as the low level ``s3api``
42
- commands including ``aws s3api put-object`` and ``aws s3api upload-part``.
43
-
44
- If you want to verify the integrity of an object during upload, see `How can I check the integrity of an object uploaded to Amazon S3? <https://aws.amazon.com/premiumsupport/knowledge-center/data-integrity-s3/>`_ in the *AWS Knowledge Center*.
22
+ The AWS CLI v1 will calculate and auto-populate a ``x-amz-checksum-<algorithm>`` HTTP header by
23
+ default for each upload, where ``<algorithm>`` is the algorithm used to calculate the checksum.
24
+ By default, the Cyclic Redundancy Check 32 (CRC32) algorithm
25
+ is used to calculate checksums, but an alternative algorithm can be specified by using the
26
+ ``--checksum-algorithm`` argument on high-level ``aws s3`` commands. The checksum algorithms
27
+ supported by the AWS CLI v1 are:
28
+
29
+ - CRC64NVME (Recommended)
30
+ - CRC32
31
+ - CRC32C
32
+ - SHA1
33
+ - SHA256
34
+
35
+ Amazon S3 will use the algorithm specified in the header to calculate the checksum of the object. If it
36
+ does not match the checksum provided, the object will not be stored and an error message
37
+ will be returned. Otherwise, the checksum is stored in object metadata that you can use
38
+ later to verify data integrity of download operations (see Download section).
39
+
40
+ .. note::
41
+ Note that the AWS CLI will perform the above checksum calculations for commands that perform uploads. This
42
+ includes high-level commands like ``aws s3 cp``, ``aws s3 sync``, and ``aws s3 mv``, and low-level commands
43
+ like ``aws s3api put-object`` and ``aws s3api upload-part``."
44
+
45
+ For high-level command invocations that result in uploading multiple files (e.g. ``aws s3 sync``),
46
+ the same checksum algorithm will be used for all file uploads included in the command execution.
47
+
48
+ For more information about verifying data integrity in Amazon S3, see
49
+ `Checking object integrity in Amazon S3?
50
+ <https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html/>`_ in the Amazon S3 User Guide.
51
+
52
+ Download
53
+ ~~~~~~
54
+
55
+ The AWS CLI will attempt to verify the checksum of downloads when possible. If a non-MD5 checksum is returned
56
+ with a downloaded object, the CLI will use the same algorithm to recalculate the checksum and verify
57
+ it matches the one stored in Amazon S3. If checksum validation fails, an error is raised and the request will NOT be
58
+ retried.
59
+
60
+ .. note::
61
+ Note that the AWS CLI will perform the above checksum calculations for commands that perform uploads. This
62
+ includes high-level commands like ``aws s3 cp``, ``aws s3 sync``, and ``aws s3 mv``, and low-level commands
63
+ like ``aws s3api get-object``"
64
+
65
+ For more information about verifying data integrity in Amazon S3, see
66
+ `Checking object integrity in Amazon S3?
67
+ <https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html/>`_ in the Amazon S3 User Guide.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: awscli
3
- Version: 1.36.40
3
+ Version: 1.37.1
4
4
  Summary: Universal Command Line Environment for AWS.
5
5
  Home-page: http://aws.amazon.com/cli/
6
6
  Author: Amazon Web Services
@@ -23,9 +23,9 @@ Classifier: Programming Language :: Python :: 3.11
23
23
  Classifier: Programming Language :: Python :: 3.12
24
24
  Requires-Python: >= 3.8
25
25
  License-File: LICENSE.txt
26
- Requires-Dist: botocore (==1.35.99)
26
+ Requires-Dist: botocore (==1.36.1)
27
27
  Requires-Dist: docutils (<0.17,>=0.10)
28
- Requires-Dist: s3transfer (<0.11.0,>=0.10.0)
28
+ Requires-Dist: s3transfer (<0.12.0,>=0.11.0)
29
29
  Requires-Dist: PyYAML (<6.1,>=3.10)
30
30
  Requires-Dist: colorama (<0.4.7,>=0.2.5)
31
31
  Requires-Dist: rsa (<4.8,>=3.1.2)
@@ -1,4 +1,4 @@
1
- awscli/__init__.py,sha256=uq9n0OOmRNJZiNyvGAHTnIm3bXjwnXOm_jv0q3vSb0Q,1534
1
+ awscli/__init__.py,sha256=p4i1ejXxLHQhbQ0CLaTFgLL7c0BtoAFYfAcxOdf0gJc,1533
2
2
  awscli/__main__.py,sha256=iBjOg0tBxNlhzTi_tyc1G0SMGBvHMVvBJzX3JqYaooY,662
3
3
  awscli/alias.py,sha256=Us9pvP8Zplbr1W4N3rE5gxicWLqlRG3l_9VPskxafgs,11313
4
4
  awscli/argparser.py,sha256=3Pxx-vWytdV985Y6MIl9DeutUXyehIvACIs_PDby8GI,7650
@@ -198,7 +198,7 @@ awscli/customizations/s3/filters.py,sha256=OuQUr6XAMkS1i6GO65_L7NbL7kwgmKT2ghWhv
198
198
  awscli/customizations/s3/results.py,sha256=L19gi3CtJYeHqWIWuIVcbj82Dshw2g5jNX8PFidcC2U,26625
199
199
  awscli/customizations/s3/s3.py,sha256=Igwsn89G7i9M4nShjzcFmwlCVXvpfgmoyEf9wpNLXdk,2739
200
200
  awscli/customizations/s3/s3handler.py,sha256=FSeCyMRi2EwNDNR329geVV8vZpap1OiSscNS-3sCCP0,23299
201
- awscli/customizations/s3/subcommands.py,sha256=Mv8XKvnrAQXqASFoHO92ZIn-qSmV7gHF2DVxSBx8NIM,63294
201
+ awscli/customizations/s3/subcommands.py,sha256=Zk361nn61l1kPIfqzomLquFPbsPIjgnERDYsE280QUs,63307
202
202
  awscli/customizations/s3/transferconfig.py,sha256=7MW4hi90N5mLeQBlmVxs9J5ixRjejp1F4uPmGGF3TME,4472
203
203
  awscli/customizations/s3/utils.py,sha256=Wcnx32I2P5E7A2Qh0ONG6IXWvnmz3NxNBtGUrGI61VQ,34213
204
204
  awscli/customizations/s3/syncstrategy/__init__.py,sha256=BFJ0dbdWkUBgJ2qav1Jhz06SddTMIeahxSaW_H0vop0,565
@@ -5994,15 +5994,15 @@ awscli/examples/xray/update-sampling-rule.rst,sha256=a1THv2Q8ELvSSlZbnbUVN5YWopG
5994
5994
  awscli/topics/config-vars.rst,sha256=rVxgQDJipsSqwDE2GOC2FUBp8jZbqufJPanTxTx7ST0,22751
5995
5995
  awscli/topics/return-codes.rst,sha256=d9lpNFZwD75IiYcDEADQzu-4QiR8P28UPHkrNwPV5J8,1996
5996
5996
  awscli/topics/s3-config.rst,sha256=kyLbdEEePnHW0hoMmQDkt4o6PbqAdpO5ph_51GgQyXg,11664
5997
- awscli/topics/s3-faq.rst,sha256=sS5jKHF_7X5eiGwpUg7aTqQt2zCRN-m_xXOcE0Bme0Q,1899
5997
+ awscli/topics/s3-faq.rst,sha256=Kw1w4NFHOTXq9Mz5S3HHw3mBkyeEzH4ruB0PD6-EO1c,2938
5998
5998
  awscli/topics/topic-tags.json,sha256=6lUSrs3FKCZNRSQMnjcXNgWyRNGjZIeur1988a4IO5o,1577
5999
- awscli-1.36.40.data/scripts/aws,sha256=r24FExgs0-JjILTQ3XZAqXBYE4SV6UMTtALkLGAj86g,805
6000
- awscli-1.36.40.data/scripts/aws.cmd,sha256=s46DkC6LNgX63CIkzxxbPnFMJ6DRDBkvc88GnWa8Pvg,1432
6001
- awscli-1.36.40.data/scripts/aws_bash_completer,sha256=RRpoEGJRagRzyHZKZZOwpltuVYv2EoiZsdXhmyWPZ54,204
6002
- awscli-1.36.40.data/scripts/aws_completer,sha256=oC9kuMDlWE47dWk_4xjPde2PQvN-M0vND0J4YSLabVQ,1126
6003
- awscli-1.36.40.data/scripts/aws_zsh_completer.sh,sha256=Qm6Z8ejNAMzpJjaT0pzqxbSDT2zxdmzVe5haRA7qLoc,1808
6004
- awscli-1.36.40.dist-info/LICENSE.txt,sha256=o5XhFlwu0OK_BBrijlKCRa7dQAm36UrUB3gCV_cEr8E,549
6005
- awscli-1.36.40.dist-info/METADATA,sha256=CvvVYsv_x0-q8M74jr887UXlf-yYakAQBSmHygQ4Vj8,11331
6006
- awscli-1.36.40.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6007
- awscli-1.36.40.dist-info/top_level.txt,sha256=vt9wXFr1_nGYK6abhJgt6zY3fULe4JSZedm_5XOM9S0,7
6008
- awscli-1.36.40.dist-info/RECORD,,
5999
+ awscli-1.37.1.data/scripts/aws,sha256=r24FExgs0-JjILTQ3XZAqXBYE4SV6UMTtALkLGAj86g,805
6000
+ awscli-1.37.1.data/scripts/aws.cmd,sha256=s46DkC6LNgX63CIkzxxbPnFMJ6DRDBkvc88GnWa8Pvg,1432
6001
+ awscli-1.37.1.data/scripts/aws_bash_completer,sha256=RRpoEGJRagRzyHZKZZOwpltuVYv2EoiZsdXhmyWPZ54,204
6002
+ awscli-1.37.1.data/scripts/aws_completer,sha256=oC9kuMDlWE47dWk_4xjPde2PQvN-M0vND0J4YSLabVQ,1126
6003
+ awscli-1.37.1.data/scripts/aws_zsh_completer.sh,sha256=Qm6Z8ejNAMzpJjaT0pzqxbSDT2zxdmzVe5haRA7qLoc,1808
6004
+ awscli-1.37.1.dist-info/LICENSE.txt,sha256=o5XhFlwu0OK_BBrijlKCRa7dQAm36UrUB3gCV_cEr8E,549
6005
+ awscli-1.37.1.dist-info/METADATA,sha256=tZ9RpxFsh8Bw9NPLhQtz9Oj53OUeGUACs7MFEz0sz6A,11329
6006
+ awscli-1.37.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6007
+ awscli-1.37.1.dist-info/top_level.txt,sha256=vt9wXFr1_nGYK6abhJgt6zY3fULe4JSZedm_5XOM9S0,7
6008
+ awscli-1.37.1.dist-info/RECORD,,
File without changes