aws-sdk-codepipeline 1.64.0 → 1.65.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0735f25e581c64a2d28596ebc561ebfc31e8a0a8fbfd925711b14bf31901f850
4
- data.tar.gz: d7543846a041d6ba2e63ab04a7cad2dc41bd94e05f8cfc48258d2f733cb0095c
3
+ metadata.gz: 10db37e32115d8c0ca1e24573c2fea5c73a3796de427688f76c6d36571354f4c
4
+ data.tar.gz: e45be6c10789a4d5b2d1e95471e031b9f44c105993034cd7aba4972a76034156
5
5
  SHA512:
6
- metadata.gz: 364be1aa33db9e2295b7210a1191c8d3e0f2f4717696961def470acd14fdb1ab291e34f846561c1190c085b4fa6dd47a781d26a0e423dc01f30c8bb198da2b2a
7
- data.tar.gz: 85d4f515d82560fadc87ce1f259179a69467376a28634ee1db388cbdf9dbd1367c122a789b55840aa32b5a95cc5c5230c1593911c10d38841816d0b10acc8500
6
+ metadata.gz: f0b78c25971d46953322312a8ae436aa30d8771d0e611bfd1c5fe25bbb7ae8a74b14827ef2683b0622fedf63c8d65ab89d1d75ce99f796d6b80ac57cec237a3a
7
+ data.tar.gz: 528c9ef0847060b0a3890f17c96cc339f3f992233bb675f3e9d446ed7a3d3e67aba56b42fd55dbf40411a3b1b91f36df032c81998351335cbd2eb7cc9ab449de
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.65.0 (2023-11-17)
5
+ ------------------
6
+
7
+ * Feature - CodePipeline now supports overriding source revisions to achieve manual re-deploy of a past revision
8
+
4
9
  1.64.0 (2023-10-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.65.0
@@ -2354,6 +2354,12 @@ module Aws::CodePipeline
2354
2354
  # **A suitable default value is auto-generated.** You should normally
2355
2355
  # not need to pass this option.**
2356
2356
  #
2357
+ # @option params [Array<Types::SourceRevisionOverride>] :source_revisions
2358
+ # A list that allows you to specify, or override, the source revision
2359
+ # for a pipeline execution that's being started. A source revision is
2360
+ # the version with all the changes to your application code, or source
2361
+ # artifact, for the pipeline execution.
2362
+ #
2357
2363
  # @return [Types::StartPipelineExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2358
2364
  #
2359
2365
  # * {Types::StartPipelineExecutionOutput#pipeline_execution_id #pipeline_execution_id} => String
@@ -2369,6 +2375,13 @@ module Aws::CodePipeline
2369
2375
  # },
2370
2376
  # ],
2371
2377
  # client_request_token: "ClientRequestToken",
2378
+ # source_revisions: [
2379
+ # {
2380
+ # action_name: "ActionName", # required
2381
+ # revision_type: "COMMIT_ID", # required, accepts COMMIT_ID, IMAGE_DIGEST, S3_OBJECT_VERSION_ID
2382
+ # revision_value: "Revision", # required
2383
+ # },
2384
+ # ],
2372
2385
  # })
2373
2386
  #
2374
2387
  # @example Response structure
@@ -2744,7 +2757,7 @@ module Aws::CodePipeline
2744
2757
  params: params,
2745
2758
  config: config)
2746
2759
  context[:gem_name] = 'aws-sdk-codepipeline'
2747
- context[:gem_version] = '1.64.0'
2760
+ context[:gem_version] = '1.65.0'
2748
2761
  Seahorse::Client::Request.new(handlers, context)
2749
2762
  end
2750
2763
 
@@ -287,6 +287,9 @@ module Aws::CodePipeline
287
287
  SessionToken = Shapes::StringShape.new(name: 'SessionToken')
288
288
  SourceRevision = Shapes::StructureShape.new(name: 'SourceRevision')
289
289
  SourceRevisionList = Shapes::ListShape.new(name: 'SourceRevisionList')
290
+ SourceRevisionOverride = Shapes::StructureShape.new(name: 'SourceRevisionOverride')
291
+ SourceRevisionOverrideList = Shapes::ListShape.new(name: 'SourceRevisionOverrideList')
292
+ SourceRevisionType = Shapes::StringShape.new(name: 'SourceRevisionType')
290
293
  StageActionDeclarationList = Shapes::ListShape.new(name: 'StageActionDeclarationList')
291
294
  StageBlockerDeclarationList = Shapes::ListShape.new(name: 'StageBlockerDeclarationList')
292
295
  StageContext = Shapes::StructureShape.new(name: 'StageContext')
@@ -1087,6 +1090,13 @@ module Aws::CodePipeline
1087
1090
 
1088
1091
  SourceRevisionList.member = Shapes::ShapeRef.new(shape: SourceRevision)
1089
1092
 
1093
+ SourceRevisionOverride.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionName, required: true, location_name: "actionName"))
1094
+ SourceRevisionOverride.add_member(:revision_type, Shapes::ShapeRef.new(shape: SourceRevisionType, required: true, location_name: "revisionType"))
1095
+ SourceRevisionOverride.add_member(:revision_value, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "revisionValue"))
1096
+ SourceRevisionOverride.struct_class = Types::SourceRevisionOverride
1097
+
1098
+ SourceRevisionOverrideList.member = Shapes::ShapeRef.new(shape: SourceRevisionOverride)
1099
+
1090
1100
  StageActionDeclarationList.member = Shapes::ShapeRef.new(shape: ActionDeclaration)
1091
1101
 
1092
1102
  StageBlockerDeclarationList.member = Shapes::ShapeRef.new(shape: BlockerDeclaration)
@@ -1119,6 +1129,7 @@ module Aws::CodePipeline
1119
1129
  StartPipelineExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "name"))
1120
1130
  StartPipelineExecutionInput.add_member(:variables, Shapes::ShapeRef.new(shape: PipelineVariableList, location_name: "variables"))
1121
1131
  StartPipelineExecutionInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
1132
+ StartPipelineExecutionInput.add_member(:source_revisions, Shapes::ShapeRef.new(shape: SourceRevisionOverrideList, location_name: "sourceRevisions"))
1122
1133
  StartPipelineExecutionInput.struct_class = Types::StartPipelineExecutionInput
1123
1134
 
1124
1135
  StartPipelineExecutionOutput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
@@ -1997,6 +1997,17 @@ module Aws::CodePipeline
1997
1997
  #
1998
1998
  # </note>
1999
1999
  #
2000
+ # <note markdown="1"> V2 type pipelines, along with triggers on Git tags and pipeline-level
2001
+ # variables, are not currently supported for CloudFormation and CDK
2002
+ # resources in CodePipeline. For more information about V2 type
2003
+ # pipelines, see [Pipeline types][1] in the *CodePipeline User Guide*.
2004
+ #
2005
+ # </note>
2006
+ #
2007
+ #
2008
+ #
2009
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html
2010
+ #
2000
2011
  # @!attribute [rw] source_action_name
2001
2012
  # The name of the pipeline source action where the trigger
2002
2013
  # configuration, such as Git tags, is specified. The trigger
@@ -2854,10 +2865,19 @@ module Aws::CodePipeline
2854
2865
  # For information about which type of pipeline to choose, see [What
2855
2866
  # type of pipeline is right for me?][2].
2856
2867
  #
2868
+ # <note markdown="1"> V2 type pipelines, along with triggers on Git tags and
2869
+ # pipeline-level variables, are not currently supported for
2870
+ # CloudFormation and CDK resources in CodePipeline. For more
2871
+ # information about V2 type pipelines, see [Pipeline types][3] in the
2872
+ # *CodePipeline User Guide*.
2873
+ #
2874
+ # </note>
2875
+ #
2857
2876
  #
2858
2877
  #
2859
2878
  # [1]: https://aws.amazon.com/codepipeline/pricing/
2860
2879
  # [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html
2880
+ # [3]: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html
2861
2881
  # @return [String]
2862
2882
  #
2863
2883
  # @!attribute [rw] triggers
@@ -3148,10 +3168,19 @@ module Aws::CodePipeline
3148
3168
  # For information about which type of pipeline to choose, see [What
3149
3169
  # type of pipeline is right for me?][2].
3150
3170
  #
3171
+ # <note markdown="1"> V2 type pipelines, along with triggers on Git tags and
3172
+ # pipeline-level variables, are not currently supported for
3173
+ # CloudFormation and CDK resources in CodePipeline. For more
3174
+ # information about V2 type pipelines, see [Pipeline types][3] in the
3175
+ # *CodePipeline User Guide*.
3176
+ #
3177
+ # </note>
3178
+ #
3151
3179
  #
3152
3180
  #
3153
3181
  # [1]: https://aws.amazon.com/codepipeline/pricing/
3154
3182
  # [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html
3183
+ # [3]: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html
3155
3184
  # @return [String]
3156
3185
  #
3157
3186
  # @!attribute [rw] created
@@ -3188,6 +3217,17 @@ module Aws::CodePipeline
3188
3217
  #
3189
3218
  # </note>
3190
3219
  #
3220
+ # <note markdown="1"> V2 type pipelines, along with triggers on Git tags and pipeline-level
3221
+ # variables, are not currently supported for CloudFormation and CDK
3222
+ # resources in CodePipeline. For more information about V2 type
3223
+ # pipelines, see [Pipeline types][1] in the *CodePipeline User Guide*.
3224
+ #
3225
+ # </note>
3226
+ #
3227
+ #
3228
+ #
3229
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html
3230
+ #
3191
3231
  # @!attribute [rw] provider_type
3192
3232
  # The source provider for the event, such as connections configured
3193
3233
  # for a repository with Git tags, for the specified trigger
@@ -3210,6 +3250,17 @@ module Aws::CodePipeline
3210
3250
 
3211
3251
  # A pipeline-level variable used for a pipeline execution.
3212
3252
  #
3253
+ # <note markdown="1"> V2 type pipelines, along with triggers on Git tags and pipeline-level
3254
+ # variables, are not currently supported for CloudFormation and CDK
3255
+ # resources in CodePipeline. For more information about V2 type
3256
+ # pipelines, see [Pipeline types][1] in the *CodePipeline User Guide*.
3257
+ #
3258
+ # </note>
3259
+ #
3260
+ #
3261
+ #
3262
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html
3263
+ #
3213
3264
  # @!attribute [rw] name
3214
3265
  # The name of a pipeline-level variable.
3215
3266
  # @return [String]
@@ -3229,6 +3280,17 @@ module Aws::CodePipeline
3229
3280
 
3230
3281
  # A variable declared at the pipeline level.
3231
3282
  #
3283
+ # <note markdown="1"> V2 type pipelines, along with triggers on Git tags and pipeline-level
3284
+ # variables, are not currently supported for CloudFormation and CDK
3285
+ # resources in CodePipeline. For more information about V2 type
3286
+ # pipelines, see [Pipeline types][1] in the *CodePipeline User Guide*.
3287
+ #
3288
+ # </note>
3289
+ #
3290
+ #
3291
+ #
3292
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html
3293
+ #
3232
3294
  # @!attribute [rw] name
3233
3295
  # The name of a pipeline-level variable.
3234
3296
  # @return [String]
@@ -3783,6 +3845,36 @@ module Aws::CodePipeline
3783
3845
  include Aws::Structure
3784
3846
  end
3785
3847
 
3848
+ # A list that allows you to specify, or override, the source revision
3849
+ # for a pipeline execution that's being started. A source revision is
3850
+ # the version with all the changes to your application code, or source
3851
+ # artifact, for the pipeline execution.
3852
+ #
3853
+ # @!attribute [rw] action_name
3854
+ # The name of the action where the override will be applied.
3855
+ # @return [String]
3856
+ #
3857
+ # @!attribute [rw] revision_type
3858
+ # The type of source revision, based on the source provider. For
3859
+ # example, the revision type for the CodeCommit action provider is the
3860
+ # commit ID.
3861
+ # @return [String]
3862
+ #
3863
+ # @!attribute [rw] revision_value
3864
+ # The source revision, or version of your source artifact, with the
3865
+ # changes that you want to run in the pipeline execution.
3866
+ # @return [String]
3867
+ #
3868
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/SourceRevisionOverride AWS API Documentation
3869
+ #
3870
+ class SourceRevisionOverride < Struct.new(
3871
+ :action_name,
3872
+ :revision_type,
3873
+ :revision_value)
3874
+ SENSITIVE = []
3875
+ include Aws::Structure
3876
+ end
3877
+
3786
3878
  # Represents information about a stage to a job worker.
3787
3879
  #
3788
3880
  # @!attribute [rw] name
@@ -3916,12 +4008,20 @@ module Aws::CodePipeline
3916
4008
  # not need to pass this option.
3917
4009
  # @return [String]
3918
4010
  #
4011
+ # @!attribute [rw] source_revisions
4012
+ # A list that allows you to specify, or override, the source revision
4013
+ # for a pipeline execution that's being started. A source revision is
4014
+ # the version with all the changes to your application code, or source
4015
+ # artifact, for the pipeline execution.
4016
+ # @return [Array<Types::SourceRevisionOverride>]
4017
+ #
3919
4018
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecutionInput AWS API Documentation
3920
4019
  #
3921
4020
  class StartPipelineExecutionInput < Struct.new(
3922
4021
  :name,
3923
4022
  :variables,
3924
- :client_request_token)
4023
+ :client_request_token,
4024
+ :source_revisions)
3925
4025
  SENSITIVE = []
3926
4026
  include Aws::Structure
3927
4027
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codepipeline/customizations'
52
52
  # @!group service
53
53
  module Aws::CodePipeline
54
54
 
55
- GEM_VERSION = '1.64.0'
55
+ GEM_VERSION = '1.65.0'
56
56
 
57
57
  end
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.64.0
4
+ version: 1.65.0
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: 2023-10-24 00:00:00.000000000 Z
11
+ date: 2023-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core