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

Method __init__

awscli/customizations/cloudfront.py:197–207  ·  view source on GitHub ↗
(self, context, argument_table)

Source from the content-addressed store, hash-verified

195
196class UpdateDefaultRootObject(CreateDefaultRootObject):
197 def __init__(self, context, argument_table):
198 super(UpdateDefaultRootObject, self).__init__(
199 argument_table,
200 help_text=(
201 'The object that you want CloudFront to return (for example, '
202 'index.html) when a viewer request points to your root URL. '
203 'CLI will automatically make a get-distribution-config call '
204 'to load and preserve your other settings.'
205 ),
206 )
207 self.context = context
208
209 def add_to_params(self, parameters, value):
210 if value is not None:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected