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

Method document_params

awscli/botocore/docs/params.py:18–41  ·  view source on GitHub ↗

Fills out the documentation for a section given a model shape. :param section: The section to write the documentation to. :param shape: The shape of the operation. :type include: Dictionary where keys are parameter names and values are the shapes of the paramet

(self, section, shape, include=None, exclude=None)

Source from the content-addressed store, hash-verified

16
17class BaseParamsDocumenter(ShapeDocumenter):
18 def document_params(self, section, shape, include=None, exclude=None):
19 """Fills out the documentation for a section given a model shape.
20
21 :param section: The section to write the documentation to.
22
23 :param shape: The shape of the operation.
24
25 :type include: Dictionary where keys are parameter names and
26 values are the shapes of the parameter names.
27 :param include: The parameter shapes to include in the documentation.
28
29 :type exclude: List of the names of the parameters to exclude.
30 :param exclude: The names of the parameters to exclude from
31 documentation.
32 """
33 history = []
34 self.traverse_and_document_shape(
35 section=section,
36 shape=shape,
37 history=history,
38 name=None,
39 include=include,
40 exclude=exclude,
41 )
42
43 def document_recursive_shape(self, section, shape, **kwargs):
44 self._add_member_documentation(section, shape, **kwargs)

Callers 15

test_request_paramsMethod · 0.80
test_response_paramsMethod · 0.80
test_request_paramsMethod · 0.80
test_response_paramsMethod · 0.80
test_request_paramsMethod · 0.80
test_response_paramsMethod · 0.80
test_request_paramsMethod · 0.80
test_response_paramsMethod · 0.80
test_request_paramsMethod · 0.80
test_response_paramsMethod · 0.80
test_request_paramsMethod · 0.80

Calls 1

Tested by 15

test_request_paramsMethod · 0.64
test_response_paramsMethod · 0.64
test_request_paramsMethod · 0.64
test_response_paramsMethod · 0.64
test_request_paramsMethod · 0.64
test_response_paramsMethod · 0.64
test_request_paramsMethod · 0.64
test_response_paramsMethod · 0.64
test_request_paramsMethod · 0.64
test_response_paramsMethod · 0.64
test_request_paramsMethod · 0.64