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

Method hide_param

awscli/botocore/docs/utils.py:184–191  ·  view source on GitHub ↗
(self, event_name, section, **kwargs)

Source from the content-addressed store, hash-verified

182 self._example_events.add(example_template % (service_name, name))
183
184 def hide_param(self, event_name, section, **kwargs):
185 if event_name in self._example_events:
186 # Modify the structure value for example events.
187 section = section.get_section('structure-value')
188 elif event_name not in self._params_events:
189 return
190 if self._parameter_name in section.available_sections:
191 section.delete_section(self._parameter_name)
192
193
194class AppendParamDocumentation:

Calls 2

get_sectionMethod · 0.45
delete_sectionMethod · 0.45