    # File lib/fog/aws/models/beanstalk/environment.rb, line 74
            def swap_cnames(source)
              requires :name
              service.swap_environment_cnames({
                  'SourceEnvironmentName' => source.name,
                  'DestinationEnvironmentName' => name
                                                 })
              source.reload
              reload
            end