aws-sdk-codepipeline 1.0.0.rc6 → 1.0.0.rc7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11f1d4e965e43854776d413bc664715e5ad76a4d
4
- data.tar.gz: fa839b54d44c9fb7aaf74ef21a18eda274e107b4
3
+ metadata.gz: 01f875e6d1e9e7962b466fa35c89d75542e038cd
4
+ data.tar.gz: af8c219b96cd197d9ff23f03a02a12bf362cca6c
5
5
  SHA512:
6
- metadata.gz: 524b14115cb0a1eed1594a6898ea82dbf33fba871f7c6b0f59a9e2feb3c8a1cf06457efc30d2563d7e2fbd041e643b370ed56fa1d8e0c2c433616709446893e3
7
- data.tar.gz: a5a21d9297d945e9f455528176e3d8585200461e43390dea290e83602aed469b5925c8313d20c2b3917b19d1d214be3cde52d533c58ab9e596a437c442906576
6
+ metadata.gz: f204b5eba0d6be749fb56b8f06f6056a7ba8439f2ef3a1938fabec8fe29e747190afd97dc3b7c5fc8f097e87b6884d8e90a68de5749438284fbc2677978037b6
7
+ data.tar.gz: 735968b9cea8242f86b7f951c3e2f8e3a9b20b3a80c553575d9acb515273a9af6e4b9a927b400401b2307c686dba4c8a9b3fd2561b3fa8e11014ff6de4770021
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-codepipeline/customizations'
42
42
  # @service
43
43
  module Aws::CodePipeline
44
44
 
45
- GEM_VERSION = '1.0.0.rc6'
45
+ GEM_VERSION = '1.0.0.rc7'
46
46
 
47
47
  end
@@ -271,10 +271,12 @@ module Aws::CodePipeline
271
271
  # [1]: http://docs.aws.amazon.com/codepipeline/latest/userguide/how-to-create-custom-action.html
272
272
  #
273
273
  # @option params [required, Types::ArtifactDetails] :input_artifact_details
274
- # Returns information about the details of an artifact.
274
+ # The details of the input artifact for the action, such as its commit
275
+ # ID.
275
276
  #
276
277
  # @option params [required, Types::ArtifactDetails] :output_artifact_details
277
- # Returns information about the details of an artifact.
278
+ # The details of the output artifact of the action, such as its commit
279
+ # ID.
278
280
  #
279
281
  # @return [Types::CreateCustomActionTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
280
282
  #
@@ -945,6 +947,55 @@ module Aws::CodePipeline
945
947
  req.send_request(options)
946
948
  end
947
949
 
950
+ # Gets a summary of the most recent executions for a pipeline.
951
+ #
952
+ # @option params [required, String] :pipeline_name
953
+ # The name of the pipeline for which you want to get execution summary
954
+ # information.
955
+ #
956
+ # @option params [Integer] :max_results
957
+ # The maximum number of results to return in a single call. To retrieve
958
+ # the remaining results, make another call with the returned nextToken
959
+ # value. The available pipeline execution history is limited to the most
960
+ # recent 12 months, based on pipeline execution start times. Default
961
+ # value is 100.
962
+ #
963
+ # @option params [String] :next_token
964
+ # The token that was returned from the previous list pipeline executions
965
+ # call, which can be used to return the next set of pipeline executions
966
+ # in the list.
967
+ #
968
+ # @return [Types::ListPipelineExecutionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
969
+ #
970
+ # * {Types::ListPipelineExecutionsOutput#pipeline_execution_summaries #pipeline_execution_summaries} => Array<Types::PipelineExecutionSummary>
971
+ # * {Types::ListPipelineExecutionsOutput#next_token #next_token} => String
972
+ #
973
+ # @example Request syntax with placeholder values
974
+ #
975
+ # resp = client.list_pipeline_executions({
976
+ # pipeline_name: "PipelineName", # required
977
+ # max_results: 1,
978
+ # next_token: "NextToken",
979
+ # })
980
+ #
981
+ # @example Response structure
982
+ #
983
+ # resp.pipeline_execution_summaries #=> Array
984
+ # resp.pipeline_execution_summaries[0].pipeline_execution_id #=> String
985
+ # resp.pipeline_execution_summaries[0].status #=> String, one of "InProgress", "Succeeded", "Superseded", "Failed"
986
+ # resp.pipeline_execution_summaries[0].start_time #=> Time
987
+ # resp.pipeline_execution_summaries[0].last_update_time #=> Time
988
+ # resp.next_token #=> String
989
+ #
990
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions AWS API Documentation
991
+ #
992
+ # @overload list_pipeline_executions(params = {})
993
+ # @param [Hash] params ({})
994
+ def list_pipeline_executions(params = {}, options = {})
995
+ req = build_request(:list_pipeline_executions, params)
996
+ req.send_request(options)
997
+ end
998
+
948
999
  # Gets a summary of all of the pipelines associated with your account.
949
1000
  #
950
1001
  # @option params [String] :next_token
@@ -1580,7 +1631,7 @@ module Aws::CodePipeline
1580
1631
  params: params,
1581
1632
  config: config)
1582
1633
  context[:gem_name] = 'aws-sdk-codepipeline'
1583
- context[:gem_version] = '1.0.0.rc6'
1634
+ context[:gem_version] = '1.0.0.rc7'
1584
1635
  Seahorse::Client::Request.new(handlers, context)
1585
1636
  end
1586
1637
 
@@ -125,9 +125,12 @@ module Aws::CodePipeline
125
125
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
126
126
  ListActionTypesInput = Shapes::StructureShape.new(name: 'ListActionTypesInput')
127
127
  ListActionTypesOutput = Shapes::StructureShape.new(name: 'ListActionTypesOutput')
128
+ ListPipelineExecutionsInput = Shapes::StructureShape.new(name: 'ListPipelineExecutionsInput')
129
+ ListPipelineExecutionsOutput = Shapes::StructureShape.new(name: 'ListPipelineExecutionsOutput')
128
130
  ListPipelinesInput = Shapes::StructureShape.new(name: 'ListPipelinesInput')
129
131
  ListPipelinesOutput = Shapes::StructureShape.new(name: 'ListPipelinesOutput')
130
132
  MaxBatchSize = Shapes::IntegerShape.new(name: 'MaxBatchSize')
133
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
131
134
  MaximumArtifactCount = Shapes::IntegerShape.new(name: 'MaximumArtifactCount')
132
135
  Message = Shapes::StringShape.new(name: 'Message')
133
136
  MinimumArtifactCount = Shapes::IntegerShape.new(name: 'MinimumArtifactCount')
@@ -143,6 +146,8 @@ module Aws::CodePipeline
143
146
  PipelineExecutionId = Shapes::StringShape.new(name: 'PipelineExecutionId')
144
147
  PipelineExecutionNotFoundException = Shapes::StructureShape.new(name: 'PipelineExecutionNotFoundException')
145
148
  PipelineExecutionStatus = Shapes::StringShape.new(name: 'PipelineExecutionStatus')
149
+ PipelineExecutionSummary = Shapes::StructureShape.new(name: 'PipelineExecutionSummary')
150
+ PipelineExecutionSummaryList = Shapes::ListShape.new(name: 'PipelineExecutionSummaryList')
146
151
  PipelineList = Shapes::ListShape.new(name: 'PipelineList')
147
152
  PipelineName = Shapes::StringShape.new(name: 'PipelineName')
148
153
  PipelineNameInUseException = Shapes::StructureShape.new(name: 'PipelineNameInUseException')
@@ -472,6 +477,15 @@ module Aws::CodePipeline
472
477
  ListActionTypesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
473
478
  ListActionTypesOutput.struct_class = Types::ListActionTypesOutput
474
479
 
480
+ ListPipelineExecutionsInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
481
+ ListPipelineExecutionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
482
+ ListPipelineExecutionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
483
+ ListPipelineExecutionsInput.struct_class = Types::ListPipelineExecutionsInput
484
+
485
+ ListPipelineExecutionsOutput.add_member(:pipeline_execution_summaries, Shapes::ShapeRef.new(shape: PipelineExecutionSummaryList, location_name: "pipelineExecutionSummaries"))
486
+ ListPipelineExecutionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
487
+ ListPipelineExecutionsOutput.struct_class = Types::ListPipelineExecutionsOutput
488
+
475
489
  ListPipelinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
476
490
  ListPipelinesInput.struct_class = Types::ListPipelinesInput
477
491
 
@@ -503,6 +517,14 @@ module Aws::CodePipeline
503
517
  PipelineExecution.add_member(:artifact_revisions, Shapes::ShapeRef.new(shape: ArtifactRevisionList, location_name: "artifactRevisions"))
504
518
  PipelineExecution.struct_class = Types::PipelineExecution
505
519
 
520
+ PipelineExecutionSummary.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
521
+ PipelineExecutionSummary.add_member(:status, Shapes::ShapeRef.new(shape: PipelineExecutionStatus, location_name: "status"))
522
+ PipelineExecutionSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
523
+ PipelineExecutionSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
524
+ PipelineExecutionSummary.struct_class = Types::PipelineExecutionSummary
525
+
526
+ PipelineExecutionSummaryList.member = Shapes::ShapeRef.new(shape: PipelineExecutionSummary)
527
+
506
528
  PipelineList.member = Shapes::ShapeRef.new(shape: PipelineSummary)
507
529
 
508
530
  PipelineStageDeclarationList.member = Shapes::ShapeRef.new(shape: StageDeclaration)
@@ -816,6 +838,17 @@ module Aws::CodePipeline
816
838
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
817
839
  end)
818
840
 
841
+ api.add_operation(:list_pipeline_executions, Seahorse::Model::Operation.new.tap do |o|
842
+ o.name = "ListPipelineExecutions"
843
+ o.http_method = "POST"
844
+ o.http_request_uri = "/"
845
+ o.input = Shapes::ShapeRef.new(shape: ListPipelineExecutionsInput)
846
+ o.output = Shapes::ShapeRef.new(shape: ListPipelineExecutionsOutput)
847
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
848
+ o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
849
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
850
+ end)
851
+
819
852
  api.add_operation(:list_pipelines, Seahorse::Model::Operation.new.tap do |o|
820
853
  o.name = "ListPipelines"
821
854
  o.http_method = "POST"
@@ -700,14 +700,7 @@ module Aws::CodePipeline
700
700
  include Aws::Structure
701
701
  end
702
702
 
703
- # The Amazon S3 location where artifacts are stored for the pipeline. If
704
- # this Amazon S3 bucket is created manually, it must meet the
705
- # requirements for AWS CodePipeline. For more information, see the
706
- # [Concepts][1].
707
- #
708
- #
709
- #
710
- # [1]: http://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#CPS3Bucket
703
+ # The Amazon S3 bucket where artifacts are stored for the pipeline.
711
704
  #
712
705
  # @note When making an API call, you may pass ArtifactStore
713
706
  # data as a hash:
@@ -726,8 +719,12 @@ module Aws::CodePipeline
726
719
  # @return [String]
727
720
  #
728
721
  # @!attribute [rw] location
729
- # The location for storing the artifacts for a pipeline, such as an S3
730
- # bucket or folder.
722
+ # The Amazon S3 bucket used for storing the artifacts for a pipeline.
723
+ # You can specify the name of an S3 bucket but not a folder within the
724
+ # bucket. A folder to contain the pipeline artifacts is created for
725
+ # you based on the name of the pipeline. You can use any Amazon S3
726
+ # bucket in the same AWS Region as the pipeline to store your pipeline
727
+ # artifacts.
731
728
  # @return [String]
732
729
  #
733
730
  # @!attribute [rw] encryption_key
@@ -847,11 +844,13 @@ module Aws::CodePipeline
847
844
  # @return [Array<Types::ActionConfigurationProperty>]
848
845
  #
849
846
  # @!attribute [rw] input_artifact_details
850
- # Returns information about the details of an artifact.
847
+ # The details of the input artifact for the action, such as its commit
848
+ # ID.
851
849
  # @return [Types::ArtifactDetails]
852
850
  #
853
851
  # @!attribute [rw] output_artifact_details
854
- # Returns information about the details of an artifact.
852
+ # The details of the output artifact of the action, such as its commit
853
+ # ID.
855
854
  # @return [Types::ArtifactDetails]
856
855
  #
857
856
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionTypeInput AWS API Documentation
@@ -1667,6 +1666,66 @@ module Aws::CodePipeline
1667
1666
  include Aws::Structure
1668
1667
  end
1669
1668
 
1669
+ # Represents the input of a list pipeline executions action.
1670
+ #
1671
+ # @note When making an API call, you may pass ListPipelineExecutionsInput
1672
+ # data as a hash:
1673
+ #
1674
+ # {
1675
+ # pipeline_name: "PipelineName", # required
1676
+ # max_results: 1,
1677
+ # next_token: "NextToken",
1678
+ # }
1679
+ #
1680
+ # @!attribute [rw] pipeline_name
1681
+ # The name of the pipeline for which you want to get execution summary
1682
+ # information.
1683
+ # @return [String]
1684
+ #
1685
+ # @!attribute [rw] max_results
1686
+ # The maximum number of results to return in a single call. To
1687
+ # retrieve the remaining results, make another call with the returned
1688
+ # nextToken value. The available pipeline execution history is limited
1689
+ # to the most recent 12 months, based on pipeline execution start
1690
+ # times. Default value is 100.
1691
+ # @return [Integer]
1692
+ #
1693
+ # @!attribute [rw] next_token
1694
+ # The token that was returned from the previous list pipeline
1695
+ # executions call, which can be used to return the next set of
1696
+ # pipeline executions in the list.
1697
+ # @return [String]
1698
+ #
1699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutionsInput AWS API Documentation
1700
+ #
1701
+ class ListPipelineExecutionsInput < Struct.new(
1702
+ :pipeline_name,
1703
+ :max_results,
1704
+ :next_token)
1705
+ include Aws::Structure
1706
+ end
1707
+
1708
+ # Represents the output of a list pipeline executions action.
1709
+ #
1710
+ # @!attribute [rw] pipeline_execution_summaries
1711
+ # A list of executions in the history of a pipeline.
1712
+ # @return [Array<Types::PipelineExecutionSummary>]
1713
+ #
1714
+ # @!attribute [rw] next_token
1715
+ # A token that can be used in the next list pipeline executions call
1716
+ # to return the next set of pipeline executions. To view all items in
1717
+ # the list, continue to call this operation with each subsequent token
1718
+ # until no more nextToken values are returned.
1719
+ # @return [String]
1720
+ #
1721
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutionsOutput AWS API Documentation
1722
+ #
1723
+ class ListPipelineExecutionsOutput < Struct.new(
1724
+ :pipeline_execution_summaries,
1725
+ :next_token)
1726
+ include Aws::Structure
1727
+ end
1728
+
1670
1729
  # Represents the input of a list pipelines action.
1671
1730
  #
1672
1731
  # @note When making an API call, you may pass ListPipelinesInput
@@ -1751,8 +1810,6 @@ module Aws::CodePipeline
1751
1810
  # @return [Types::StageContext]
1752
1811
  #
1753
1812
  # @!attribute [rw] action
1754
- # Represents the context of an action within the stage of a pipeline
1755
- # to a job worker.
1756
1813
  # @return [Types::ActionContext]
1757
1814
  #
1758
1815
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineContext AWS API Documentation
@@ -1832,14 +1889,8 @@ module Aws::CodePipeline
1832
1889
  # @return [String]
1833
1890
  #
1834
1891
  # @!attribute [rw] artifact_store
1835
- # The Amazon S3 location where artifacts are stored for the pipeline.
1836
- # If this Amazon S3 bucket is created manually, it must meet the
1837
- # requirements for AWS CodePipeline. For more information, see the
1838
- # [Concepts][1].
1839
- #
1840
- #
1841
- #
1842
- # [1]: http://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#CPS3Bucket
1892
+ # Represents the context of an action within the stage of a pipeline
1893
+ # to a job worker.
1843
1894
  # @return [Types::ArtifactStore]
1844
1895
  #
1845
1896
  # @!attribute [rw] stages
@@ -1888,7 +1939,7 @@ module Aws::CodePipeline
1888
1939
  # stage to be completed, a newer pipeline execution caught up and
1889
1940
  # continued through the pipeline instead.
1890
1941
  #
1891
- # * Failed: The pipeline did not complete successfully.
1942
+ # * Failed: The pipeline execution did not complete successfully.
1892
1943
  # @return [String]
1893
1944
  #
1894
1945
  # @!attribute [rw] artifact_revisions
@@ -1906,6 +1957,46 @@ module Aws::CodePipeline
1906
1957
  include Aws::Structure
1907
1958
  end
1908
1959
 
1960
+ # Summary information about a pipeline execution.
1961
+ #
1962
+ # @!attribute [rw] pipeline_execution_id
1963
+ # The ID of the pipeline execution.
1964
+ # @return [String]
1965
+ #
1966
+ # @!attribute [rw] status
1967
+ # The status of the pipeline execution.
1968
+ #
1969
+ # * InProgress: The pipeline execution is currently running.
1970
+ #
1971
+ # * Succeeded: The pipeline execution completed successfully.
1972
+ #
1973
+ # * Superseded: While this pipeline execution was waiting for the next
1974
+ # stage to be completed, a newer pipeline execution caught up and
1975
+ # continued through the pipeline instead.
1976
+ #
1977
+ # * Failed: The pipeline execution did not complete successfully.
1978
+ # @return [String]
1979
+ #
1980
+ # @!attribute [rw] start_time
1981
+ # The date and time when the pipeline execution began, in timestamp
1982
+ # format.
1983
+ # @return [Time]
1984
+ #
1985
+ # @!attribute [rw] last_update_time
1986
+ # The date and time of the last change to the pipeline execution, in
1987
+ # timestamp format.
1988
+ # @return [Time]
1989
+ #
1990
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionSummary AWS API Documentation
1991
+ #
1992
+ class PipelineExecutionSummary < Struct.new(
1993
+ :pipeline_execution_id,
1994
+ :status,
1995
+ :start_time,
1996
+ :last_update_time)
1997
+ include Aws::Structure
1998
+ end
1999
+
1909
2000
  # Returns a summary of a pipeline.
1910
2001
  #
1911
2002
  # @!attribute [rw] name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codepipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc6
4
+ version: 1.0.0.rc7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-23 00:00:00.000000000 Z
11
+ date: 2017-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc12
19
+ version: 3.0.0.rc13
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc12
26
+ version: 3.0.0.rc13
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement