| 195 | |
| 196 | class 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: |