Class: Aws::CodePipeline::Types::CurrentRevision

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codepipeline/types.rb

Overview

Note:

When making an API call, you may pass CurrentRevision data as a hash:

{
  revision: "Revision", # required
  change_identifier: "RevisionChangeIdentifier", # required
  created: Time.now,
  revision_summary: "RevisionSummary",
}

Represents information about a current revision.

Instance Attribute Summary collapse

Instance Attribute Details

#change_identifierString

The change identifier for the current revision.

Returns:

  • (String)


1014
1015
1016
1017
1018
1019
1020
# File 'lib/aws-sdk-codepipeline/types.rb', line 1014

class CurrentRevision < Struct.new(
  :revision,
  :change_identifier,
  :created,
  :revision_summary)
  include Aws::Structure
end

#createdTime

The date and time when the most recent revision of the artifact was created, in timestamp format.

Returns:

  • (Time)


1014
1015
1016
1017
1018
1019
1020
# File 'lib/aws-sdk-codepipeline/types.rb', line 1014

class CurrentRevision < Struct.new(
  :revision,
  :change_identifier,
  :created,
  :revision_summary)
  include Aws::Structure
end

#revisionString

The revision ID of the current version of an artifact.

Returns:

  • (String)


1014
1015
1016
1017
1018
1019
1020
# File 'lib/aws-sdk-codepipeline/types.rb', line 1014

class CurrentRevision < Struct.new(
  :revision,
  :change_identifier,
  :created,
  :revision_summary)
  include Aws::Structure
end

#revision_summaryString

The summary of the most recent revision of the artifact.

Returns:

  • (String)


1014
1015
1016
1017
1018
1019
1020
# File 'lib/aws-sdk-codepipeline/types.rb', line 1014

class CurrentRevision < Struct.new(
  :revision,
  :change_identifier,
  :created,
  :revision_summary)
  include Aws::Structure
end