#NEWLINE# def update( self , enabled = None , cnames = None , comment = None ) : #NEWLINE# #INDENT# "\n        Update the configuration of the StreamingDistribution.  The only values\n        of the StreamingDistributionConfig that can be directly updated are:\n\n         * CNAMES\n         * Comment\n         * Whether the Distribution is enabled or not\n\n        Any changes to the ``trusted_signers`` or ``origin`` properties of\n        this distribution's current config object will also be included in\n        the update. Therefore, to set the origin access identity for this\n        distribution, set\n        ``StreamingDistribution.config.origin.origin_access_identity``\n        before calling this update method.\n\n        :type enabled: bool\n        :param enabled: Whether the StreamingDistribution is active or not.\n\n        :type cnames: list of str\n        :param cnames: The DNS CNAME's associated with this\n                        Distribution.  Maximum of 10 values.\n\n        :type comment: str or unicode\n        :param comment: The comment associated with the Distribution.\n\n        " #NEWLINE# new_config = StreamingDistributionConfig ( self . connection , self . config . origin , self . config . enabled , self . config . caller_reference , self . config . cnames , self . config . comment , self . config . trusted_signers ) #NEWLINE# if ( enabled != None ) : #NEWLINE# #INDENT# new_config . enabled = enabled #NEWLINE# #UNINDENT# if ( cnames != None ) : #NEWLINE# #INDENT# new_config . cnames = cnames #NEWLINE# #UNINDENT# if ( comment != None ) : #NEWLINE# #INDENT# new_config . comment = comment #NEWLINE# #UNINDENT# self . etag = self . connection . set_streaming_distribution_config ( enabled . id , self . etag , new_config ) #NEWLINE# self . config = new_config #NEWLINE# self . _object_class = StreamingObject