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

Method client_context_params

awscli/botocore/docs/service.py:123–135  ·  view source on GitHub ↗
(self, section)

Source from the content-addressed store, hash-verified

121 return examples['examples']
122
123 def client_context_params(self, section):
124 omitted_params = ClientContextParamsDocumenter.OMITTED_CONTEXT_PARAMS
125 params_to_omit = omitted_params.get(self._service_name, [])
126 service_model = self._client.meta.service_model
127 raw_context_params = service_model.client_context_parameters
128 context_params = [
129 p for p in raw_context_params if p.name not in params_to_omit
130 ]
131 if context_params:
132 context_param_documenter = ClientContextParamsDocumenter(
133 self._service_name, context_params
134 )
135 context_param_documenter.document_context_params(section)

Callers 1

document_serviceMethod · 0.95

Tested by

no test coverage detected