You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeCommit::Types::CreateCommitOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#commit_idString

The full commit ID of the commit that contains your committed file changes.

Returns:

  • (String)


837
838
839
840
841
842
843
844
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 837

class CreateCommitOutput < Struct.new(
  :commit_id,
  :tree_id,
  :files_added,
  :files_updated,
  :files_deleted)
  include Aws::Structure
end

#files_addedArray<Types::FileMetadata>

The files added as part of the committed file changes.

Returns:



837
838
839
840
841
842
843
844
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 837

class CreateCommitOutput < Struct.new(
  :commit_id,
  :tree_id,
  :files_added,
  :files_updated,
  :files_deleted)
  include Aws::Structure
end

#files_deletedArray<Types::FileMetadata>

The files deleted as part of the committed file changes.

Returns:



837
838
839
840
841
842
843
844
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 837

class CreateCommitOutput < Struct.new(
  :commit_id,
  :tree_id,
  :files_added,
  :files_updated,
  :files_deleted)
  include Aws::Structure
end

#files_updatedArray<Types::FileMetadata>

The files updated as part of the commited file changes.

Returns:



837
838
839
840
841
842
843
844
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 837

class CreateCommitOutput < Struct.new(
  :commit_id,
  :tree_id,
  :files_added,
  :files_updated,
  :files_deleted)
  include Aws::Structure
end

#tree_idString

The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.

Returns:

  • (String)


837
838
839
840
841
842
843
844
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 837

class CreateCommitOutput < Struct.new(
  :commit_id,
  :tree_id,
  :files_added,
  :files_updated,
  :files_deleted)
  include Aws::Structure
end