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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codepipeline/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)


997
998
999
1000
1001
1002
1003
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 997

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)


997
998
999
1000
1001
1002
1003
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 997

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)


997
998
999
1000
1001
1002
1003
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 997

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)


997
998
999
1000
1001
1002
1003
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 997

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