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

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

              data = connection.create_application_version(options).body['CreateApplicationVersionResult']['ApplicationVersion']
              merge_attributes(data)
              true
            end