awscli 1.42.71__py3-none-any.whl → 1.42.72__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.
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.42.71'
21
+ __version__ = '1.42.72'
22
22
 
23
23
  #
24
24
  # Get our data path to be added to botocore's search path
awscli/bcdoc/docevents.py CHANGED
@@ -13,6 +13,7 @@
13
13
 
14
14
 
15
15
  DOC_EVENTS = {
16
+ 'doc-meta-description': '.%s',
16
17
  'doc-breadcrumbs': '.%s',
17
18
  'doc-title': '.%s',
18
19
  'doc-description': '.%s',
@@ -39,6 +40,8 @@ def generate_events(session, help_command):
39
40
  # Now generate the documentation events
40
41
  session.emit('doc-breadcrumbs.%s' % help_command.event_class,
41
42
  help_command=help_command)
43
+ session.emit('doc-meta-description.%s' % help_command.event_class,
44
+ help_command=help_command)
42
45
  session.emit('doc-title.%s' % help_command.event_class,
43
46
  help_command=help_command)
44
47
  session.emit('doc-description.%s' % help_command.event_class,
awscli/clidocs.py CHANGED
@@ -17,7 +17,7 @@ import re
17
17
  from botocore.model import StringShape
18
18
  from botocore.utils import is_json_value_header
19
19
 
20
- from awscli import SCALAR_TYPES
20
+ from awscli import SCALAR_TYPES, __version__ as AWS_CLI_VERSION
21
21
  from awscli.argprocess import ParamShorthandDocGen
22
22
  from awscli.bcdoc.docevents import DOC_EVENTS
23
23
  from awscli.topictags import TopicTagDB
@@ -114,7 +114,8 @@ class CLIDocumentEventHandler:
114
114
  full_cmd_list.append(cmd)
115
115
  full_cmd_name = ' '.join(full_cmd_list)
116
116
  doc.write(f':ref:`{cmd} <cli:{full_cmd_name}>`')
117
- doc.write(' ]')
117
+ doc.writeln(' ]')
118
+ doc.writeln('')
118
119
 
119
120
  def doc_title(self, help_command, **kwargs):
120
121
  doc = help_command.doc
@@ -223,6 +224,9 @@ class CLIDocumentEventHandler:
223
224
  )
224
225
  doc.write('\n')
225
226
 
227
+ def doc_meta_description(self, help_command, **kwargs):
228
+ pass
229
+
226
230
  def _document_enums(self, model, doc):
227
231
  """Documents top-level parameter enums"""
228
232
  if isinstance(model, StringShape):
@@ -402,6 +406,13 @@ class ServiceDocumentEventHandler(CLIDocumentEventHandler):
402
406
  else:
403
407
  doc.style.tocitem(command_name)
404
408
 
409
+ def doc_meta_description(self, help_command, **kwargs):
410
+ doc = help_command.doc
411
+ reference = help_command.event_class.replace('.', ' ')
412
+ doc.writeln(".. meta::")
413
+ doc.writeln(f" :description: Learn about the AWS CLI {AWS_CLI_VERSION} {reference} commands.")
414
+ doc.writeln("")
415
+
405
416
 
406
417
  class OperationDocumentEventHandler(CLIDocumentEventHandler):
407
418
  AWS_DOC_BASE = 'https://docs.aws.amazon.com/goto/WebAPI'
@@ -618,6 +629,12 @@ class OperationDocumentEventHandler(CLIDocumentEventHandler):
618
629
  for member_name, member_shape in output_shape.members.items():
619
630
  self._doc_member(doc, member_name, member_shape, stack=[])
620
631
 
632
+ def doc_meta_description(self, help_command, **kwargs):
633
+ doc = help_command.doc
634
+ reference = help_command.event_class.replace('.', ' ')
635
+ doc.writeln(".. meta::")
636
+ doc.writeln(f" :description: Use the AWS CLI {AWS_CLI_VERSION} to run the {reference} command.")
637
+ doc.writeln("")
621
638
 
622
639
  class TopicListerDocumentEventHandler(CLIDocumentEventHandler):
623
640
  DESCRIPTION = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: awscli
3
- Version: 1.42.71
3
+ Version: 1.42.72
4
4
  Summary: Universal Command Line Environment for AWS.
5
5
  Home-page: http://aws.amazon.com/cli/
6
6
  Author: Amazon Web Services
@@ -24,7 +24,7 @@ Classifier: Programming Language :: Python :: 3.13
24
24
  Classifier: Programming Language :: Python :: 3.14
25
25
  Requires-Python: >= 3.9
26
26
  License-File: LICENSE.txt
27
- Requires-Dist: botocore (==1.40.71)
27
+ Requires-Dist: botocore (==1.40.72)
28
28
  Requires-Dist: docutils (<=0.19,>=0.18.1)
29
29
  Requires-Dist: s3transfer (<0.15.0,>=0.14.0)
30
30
  Requires-Dist: PyYAML (<6.1,>=3.10)
@@ -1,10 +1,10 @@
1
- awscli/__init__.py,sha256=oEWke-6i0Y2hsA5XaP7q7ARo-AXKm0IXns4g96kVlAI,1534
1
+ awscli/__init__.py,sha256=vwR7dj5hacLLZWVddKCBTJ18wO1ZfOEX6cWhp4SJmYo,1534
2
2
  awscli/__main__.py,sha256=iBjOg0tBxNlhzTi_tyc1G0SMGBvHMVvBJzX3JqYaooY,662
3
3
  awscli/alias.py,sha256=Jj2jetpajUMcjqx9tFhHUOKpzLChQygnH2zqDFfmgIM,11315
4
4
  awscli/argparser.py,sha256=3Pxx-vWytdV985Y6MIl9DeutUXyehIvACIs_PDby8GI,7650
5
5
  awscli/argprocess.py,sha256=LFTcEElZCNKR3EP9Ovs7DlwUCVoLyaG-yXpf_CpR1lw,21180
6
6
  awscli/arguments.py,sha256=7uRbPe8rK56rpgEHD2gx9-GS-Yv1iJuWd_aooj7ebYY,18827
7
- awscli/clidocs.py,sha256=4WzjkUyiZGjfn7C228D3436695CYF8oVpfFsdJaw58k,31844
7
+ awscli/clidocs.py,sha256=VWu0ECPAt1MZwdCTqdrrzrRDputralHKzyozt7LOOho,32615
8
8
  awscli/clidriver.py,sha256=DCUU4LpcoKNGBagl35P2t4xSuSinKWdPmcNPCXB6AJE,26528
9
9
  awscli/commands.py,sha256=fJVPJajqYCl9pieIphIVYYQvbwdCbufkDj87I7W0JwE,2097
10
10
  awscli/compat.py,sha256=_W9vVZnQTVx0o_hKiEuauCZgQgKkqGK4zGGT44rsaCU,16835
@@ -23,7 +23,7 @@ awscli/text.py,sha256=pr40cSMkGWZ5n-VXMcEKCo1xO5bK3nUbDK3WLwy2HFE,4177
23
23
  awscli/topictags.py,sha256=A1HDK4jE2ZxReOVM1sftjInQXVWL1DRz8DLS5JIGMag,12635
24
24
  awscli/utils.py,sha256=Y6oRMAA7T4cbnbxnsonGKaroiSP51EzAkoMUB9EvIO0,10169
25
25
  awscli/bcdoc/__init__.py,sha256=V2g87AefB2DOD9_3xIF5k9Nv5ttb4_gNJOVvSF0Mp3s,588
26
- awscli/bcdoc/docevents.py,sha256=h99ATaPm-Yb0KsrOTO6eaItjMMQzdA6W63R927etjWQ,4877
26
+ awscli/bcdoc/docevents.py,sha256=RErca_G76a310UgXncghXcfoQ26ZNGzmqwJ-xgf8DWM,5027
27
27
  awscli/bcdoc/docstringparser.py,sha256=-QMoUsJrmnI-G46YbDm2UACU4jpHXonwouG9CFAlzNg,5679
28
28
  awscli/bcdoc/restdoc.py,sha256=NXdEjs4gqPOno2dVklr5XnMEes8CIG1pB0Gqet1WhHE,7931
29
29
  awscli/bcdoc/style.py,sha256=Zf7DB_WSQgfseH3mnXMqKkE0Q8eC_iNYw3w_Pkx63os,11833
@@ -6061,13 +6061,13 @@ awscli/topics/return-codes.rst,sha256=d9lpNFZwD75IiYcDEADQzu-4QiR8P28UPHkrNwPV5J
6061
6061
  awscli/topics/s3-config.rst,sha256=5EIVd4ggLBHtzjtHFvQp9hY415yMGZiG7S_rO9qy2t0,11663
6062
6062
  awscli/topics/s3-faq.rst,sha256=9qO0HFI6F9hx1wVEUDl8Jy6yoCUd9zbtv-Z0Re4dsiw,2934
6063
6063
  awscli/topics/topic-tags.json,sha256=6lUSrs3FKCZNRSQMnjcXNgWyRNGjZIeur1988a4IO5o,1577
6064
- awscli-1.42.71.data/scripts/aws,sha256=r24FExgs0-JjILTQ3XZAqXBYE4SV6UMTtALkLGAj86g,805
6065
- awscli-1.42.71.data/scripts/aws.cmd,sha256=s46DkC6LNgX63CIkzxxbPnFMJ6DRDBkvc88GnWa8Pvg,1432
6066
- awscli-1.42.71.data/scripts/aws_bash_completer,sha256=RRpoEGJRagRzyHZKZZOwpltuVYv2EoiZsdXhmyWPZ54,204
6067
- awscli-1.42.71.data/scripts/aws_completer,sha256=oC9kuMDlWE47dWk_4xjPde2PQvN-M0vND0J4YSLabVQ,1126
6068
- awscli-1.42.71.data/scripts/aws_zsh_completer.sh,sha256=Qm6Z8ejNAMzpJjaT0pzqxbSDT2zxdmzVe5haRA7qLoc,1808
6069
- awscli-1.42.71.dist-info/LICENSE.txt,sha256=o5XhFlwu0OK_BBrijlKCRa7dQAm36UrUB3gCV_cEr8E,549
6070
- awscli-1.42.71.dist-info/METADATA,sha256=0t_2C-byD7yujSxOVD-eLXSzsW_Ubaj3uRnBMKRRBa8,11201
6071
- awscli-1.42.71.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6072
- awscli-1.42.71.dist-info/top_level.txt,sha256=vt9wXFr1_nGYK6abhJgt6zY3fULe4JSZedm_5XOM9S0,7
6073
- awscli-1.42.71.dist-info/RECORD,,
6064
+ awscli-1.42.72.data/scripts/aws,sha256=r24FExgs0-JjILTQ3XZAqXBYE4SV6UMTtALkLGAj86g,805
6065
+ awscli-1.42.72.data/scripts/aws.cmd,sha256=s46DkC6LNgX63CIkzxxbPnFMJ6DRDBkvc88GnWa8Pvg,1432
6066
+ awscli-1.42.72.data/scripts/aws_bash_completer,sha256=RRpoEGJRagRzyHZKZZOwpltuVYv2EoiZsdXhmyWPZ54,204
6067
+ awscli-1.42.72.data/scripts/aws_completer,sha256=oC9kuMDlWE47dWk_4xjPde2PQvN-M0vND0J4YSLabVQ,1126
6068
+ awscli-1.42.72.data/scripts/aws_zsh_completer.sh,sha256=Qm6Z8ejNAMzpJjaT0pzqxbSDT2zxdmzVe5haRA7qLoc,1808
6069
+ awscli-1.42.72.dist-info/LICENSE.txt,sha256=o5XhFlwu0OK_BBrijlKCRa7dQAm36UrUB3gCV_cEr8E,549
6070
+ awscli-1.42.72.dist-info/METADATA,sha256=x59esI_-EO_v8-veoWYWpZLvLkwOWI9vfKDewVrVjiQ,11201
6071
+ awscli-1.42.72.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6072
+ awscli-1.42.72.dist-info/top_level.txt,sha256=vt9wXFr1_nGYK6abhJgt6zY3fULe4JSZedm_5XOM9S0,7
6073
+ awscli-1.42.72.dist-info/RECORD,,
File without changes