MCPcopy Index your code
hub / github.com/aws/aws-cli / ResponseExampleDocumenter

Class ResponseExampleDocumenter

awscli/botocore/docs/example.py:180–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178
179
180class ResponseExampleDocumenter(BaseExampleDocumenter):
181 EVENT_NAME = 'response-example'
182
183 def document_shape_type_event_stream(
184 self, section, shape, history, **kwargs
185 ):
186 section.write('EventStream(')
187 self.document_shape_type_structure(section, shape, history, **kwargs)
188 end_section = section.add_new_section('event-stream-end')
189 end_section.write(')')
190
191
192class RequestExampleDocumenter(BaseExampleDocumenter):

Callers 4

setUpMethod · 0.90
setUpMethod · 0.90
_add_response_exampleMethod · 0.90

Calls

no outgoing calls

Tested by 2

setUpMethod · 0.72
setUpMethod · 0.72