    # File lib/fog/aws/models/beanstalk/version.rb, line 62
            def update
              requires :label, :application_name

              options = {
                  'ApplicationName' => application_name,
                  'Description' => description,
                  'VersionLabel' => label
              }
              options.delete_if {|key, value| value.nil?}

              data = service.update_application_version(options).body['UpdateApplicationVersionResult']['ApplicationVersion']
              merge_attributes(data)
            end