aws-sdk-codepipeline 1.62.0 → 1.64.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: d2718a5a071f8b8275ab30388e1739d19fd1e2d9fc2a0bcec81a5582ec394c70
4
- data.tar.gz: b6077e6aba6f5918b256ac46ac0929722b0d863b2c9636d767702e1f4f753773
3
+ metadata.gz: 0735f25e581c64a2d28596ebc561ebfc31e8a0a8fbfd925711b14bf31901f850
4
+ data.tar.gz: d7543846a041d6ba2e63ab04a7cad2dc41bd94e05f8cfc48258d2f733cb0095c
5
5
  SHA512:
6
- metadata.gz: '07182773c8382f68bf5d222354ff3dc1d7536cd2d20cb12e5e32e10f3203f2a130903a3fc3d6ea07aab84422ce15a6c4727d58f81592802e27f6a9c8c466c2bd'
7
- data.tar.gz: 051a4bccf4ba730a197d1c15689656176dbcb0cc34985daa67e4fe1e3e624d6220f7beee7dfe11a6c8be75a175bbabd6eb503aff082517ffac3d0b28f847fd59
6
+ metadata.gz: 364be1aa33db9e2295b7210a1191c8d3e0f2f4717696961def470acd14fdb1ab291e34f846561c1190c085b4fa6dd47a781d26a0e423dc01f30c8bb198da2b2a
7
+ data.tar.gz: 85d4f515d82560fadc87ce1f259179a69467376a28634ee1db388cbdf9dbd1367c122a789b55840aa32b5a95cc5c5230c1593911c10d38841816d0b10acc8500
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.64.0 (2023-10-24)
5
+ ------------------
6
+
7
+ * Feature - Add ability to trigger pipelines from git tags, define variables at pipeline level and new pipeline type V2.
8
+
9
+ 1.63.0 (2023-10-17)
10
+ ------------------
11
+
12
+ * Feature - Add retryMode ALL_ACTIONS to RetryStageExecution API that retries a failed stage starting from first action in the stage
13
+
4
14
  1.62.0 (2023-09-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.62.0
1
+ 1.64.0
@@ -683,6 +683,30 @@ module Aws::CodePipeline
683
683
  # },
684
684
  # ],
685
685
  # version: 1,
686
+ # pipeline_type: "V1", # accepts V1, V2
687
+ # triggers: [
688
+ # {
689
+ # provider_type: "CodeStarSourceConnection", # required, accepts CodeStarSourceConnection
690
+ # git_configuration: { # required
691
+ # source_action_name: "ActionName", # required
692
+ # push: [
693
+ # {
694
+ # tags: {
695
+ # includes: ["GitTagNamePattern"],
696
+ # excludes: ["GitTagNamePattern"],
697
+ # },
698
+ # },
699
+ # ],
700
+ # },
701
+ # },
702
+ # ],
703
+ # variables: [
704
+ # {
705
+ # name: "PipelineVariableName", # required
706
+ # default_value: "PipelineVariableValue",
707
+ # description: "PipelineVariableDescription",
708
+ # },
709
+ # ],
686
710
  # },
687
711
  # tags: [
688
712
  # {
@@ -727,6 +751,19 @@ module Aws::CodePipeline
727
751
  # resp.pipeline.stages[0].actions[0].region #=> String
728
752
  # resp.pipeline.stages[0].actions[0].namespace #=> String
729
753
  # resp.pipeline.version #=> Integer
754
+ # resp.pipeline.pipeline_type #=> String, one of "V1", "V2"
755
+ # resp.pipeline.triggers #=> Array
756
+ # resp.pipeline.triggers[0].provider_type #=> String, one of "CodeStarSourceConnection"
757
+ # resp.pipeline.triggers[0].git_configuration.source_action_name #=> String
758
+ # resp.pipeline.triggers[0].git_configuration.push #=> Array
759
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.includes #=> Array
760
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.includes[0] #=> String
761
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.excludes #=> Array
762
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.excludes[0] #=> String
763
+ # resp.pipeline.variables #=> Array
764
+ # resp.pipeline.variables[0].name #=> String
765
+ # resp.pipeline.variables[0].default_value #=> String
766
+ # resp.pipeline.variables[0].description #=> String
730
767
  # resp.tags #=> Array
731
768
  # resp.tags[0].key #=> String
732
769
  # resp.tags[0].value #=> String
@@ -1144,6 +1181,19 @@ module Aws::CodePipeline
1144
1181
  # resp.pipeline.stages[0].actions[0].region #=> String
1145
1182
  # resp.pipeline.stages[0].actions[0].namespace #=> String
1146
1183
  # resp.pipeline.version #=> Integer
1184
+ # resp.pipeline.pipeline_type #=> String, one of "V1", "V2"
1185
+ # resp.pipeline.triggers #=> Array
1186
+ # resp.pipeline.triggers[0].provider_type #=> String, one of "CodeStarSourceConnection"
1187
+ # resp.pipeline.triggers[0].git_configuration.source_action_name #=> String
1188
+ # resp.pipeline.triggers[0].git_configuration.push #=> Array
1189
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.includes #=> Array
1190
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.includes[0] #=> String
1191
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.excludes #=> Array
1192
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.excludes[0] #=> String
1193
+ # resp.pipeline.variables #=> Array
1194
+ # resp.pipeline.variables[0].name #=> String
1195
+ # resp.pipeline.variables[0].default_value #=> String
1196
+ # resp.pipeline.variables[0].description #=> String
1147
1197
  # resp.metadata.pipeline_arn #=> String
1148
1198
  # resp.metadata.created #=> Time
1149
1199
  # resp.metadata.updated #=> Time
@@ -1195,6 +1245,11 @@ module Aws::CodePipeline
1195
1245
  # resp.pipeline_execution.artifact_revisions[0].revision_summary #=> String
1196
1246
  # resp.pipeline_execution.artifact_revisions[0].created #=> Time
1197
1247
  # resp.pipeline_execution.artifact_revisions[0].revision_url #=> String
1248
+ # resp.pipeline_execution.trigger.trigger_type #=> String, one of "CreatePipeline", "StartPipelineExecution", "PollForSourceChanges", "Webhook", "CloudWatchEvent", "PutActionRevision", "WebhookV2"
1249
+ # resp.pipeline_execution.trigger.trigger_detail #=> String
1250
+ # resp.pipeline_execution.variables #=> Array
1251
+ # resp.pipeline_execution.variables[0].name #=> String
1252
+ # resp.pipeline_execution.variables[0].resolved_value #=> String
1198
1253
  #
1199
1254
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecution AWS API Documentation
1200
1255
  #
@@ -1544,7 +1599,7 @@ module Aws::CodePipeline
1544
1599
  # resp.pipeline_execution_summaries[0].source_revisions[0].revision_id #=> String
1545
1600
  # resp.pipeline_execution_summaries[0].source_revisions[0].revision_summary #=> String
1546
1601
  # resp.pipeline_execution_summaries[0].source_revisions[0].revision_url #=> String
1547
- # resp.pipeline_execution_summaries[0].trigger.trigger_type #=> String, one of "CreatePipeline", "StartPipelineExecution", "PollForSourceChanges", "Webhook", "CloudWatchEvent", "PutActionRevision"
1602
+ # resp.pipeline_execution_summaries[0].trigger.trigger_type #=> String, one of "CreatePipeline", "StartPipelineExecution", "PollForSourceChanges", "Webhook", "CloudWatchEvent", "PutActionRevision", "WebhookV2"
1548
1603
  # resp.pipeline_execution_summaries[0].trigger.trigger_detail #=> String
1549
1604
  # resp.pipeline_execution_summaries[0].stop_trigger.reason #=> String
1550
1605
  # resp.next_token #=> String
@@ -1589,6 +1644,7 @@ module Aws::CodePipeline
1589
1644
  # resp.pipelines #=> Array
1590
1645
  # resp.pipelines[0].name #=> String
1591
1646
  # resp.pipelines[0].version #=> Integer
1647
+ # resp.pipelines[0].pipeline_type #=> String, one of "V1", "V2"
1592
1648
  # resp.pipelines[0].created #=> Time
1593
1649
  # resp.pipelines[0].updated #=> Time
1594
1650
  # resp.next_token #=> String
@@ -2229,10 +2285,15 @@ module Aws::CodePipeline
2229
2285
  req.send_request(options)
2230
2286
  end
2231
2287
 
2232
- # Resumes the pipeline execution by retrying the last failed actions in
2233
- # a stage. You can retry a stage immediately if any of the actions in
2234
- # the stage fail. When you retry, all actions that are still in progress
2235
- # continue working, and failed actions are triggered again.
2288
+ # You can retry a stage that has failed without having to run a pipeline
2289
+ # again from the beginning. You do this by either retrying the failed
2290
+ # actions in a stage or by retrying all actions in the stage starting
2291
+ # from the first action in the stage. When you retry the failed actions
2292
+ # in a stage, all actions that are still in progress continue working,
2293
+ # and failed actions are triggered again. When you retry a failed stage
2294
+ # from the first action in the stage, the stage cannot have any actions
2295
+ # in progress. Before a stage can be retried, it must either have all
2296
+ # actions failed or some actions failed and some succeeded.
2236
2297
  #
2237
2298
  # @option params [required, String] :pipeline_name
2238
2299
  # The name of the pipeline that contains the failed stage.
@@ -2246,8 +2307,7 @@ module Aws::CodePipeline
2246
2307
  # pipelineExecutionId of the failed stage
2247
2308
  #
2248
2309
  # @option params [required, String] :retry_mode
2249
- # The scope of the retry attempt. Currently, the only supported value is
2250
- # FAILED\_ACTIONS.
2310
+ # The scope of the retry attempt.
2251
2311
  #
2252
2312
  # @return [Types::RetryStageExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2253
2313
  #
@@ -2259,7 +2319,7 @@ module Aws::CodePipeline
2259
2319
  # pipeline_name: "PipelineName", # required
2260
2320
  # stage_name: "StageName", # required
2261
2321
  # pipeline_execution_id: "PipelineExecutionId", # required
2262
- # retry_mode: "FAILED_ACTIONS", # required, accepts FAILED_ACTIONS
2322
+ # retry_mode: "FAILED_ACTIONS", # required, accepts FAILED_ACTIONS, ALL_ACTIONS
2263
2323
  # })
2264
2324
  #
2265
2325
  # @example Response structure
@@ -2282,6 +2342,11 @@ module Aws::CodePipeline
2282
2342
  # @option params [required, String] :name
2283
2343
  # The name of the pipeline to start.
2284
2344
  #
2345
+ # @option params [Array<Types::PipelineVariable>] :variables
2346
+ # A list that overrides pipeline variables for a pipeline execution
2347
+ # that's being started. Variable names must match `[A-Za-z0-9@\-_]+`,
2348
+ # and the values can be anything except an empty string.
2349
+ #
2285
2350
  # @option params [String] :client_request_token
2286
2351
  # The system-generated unique ID used to identify a unique execution
2287
2352
  # request.
@@ -2297,6 +2362,12 @@ module Aws::CodePipeline
2297
2362
  #
2298
2363
  # resp = client.start_pipeline_execution({
2299
2364
  # name: "PipelineName", # required
2365
+ # variables: [
2366
+ # {
2367
+ # name: "PipelineVariableName", # required
2368
+ # value: "PipelineVariableValue", # required
2369
+ # },
2370
+ # ],
2300
2371
  # client_request_token: "ClientRequestToken",
2301
2372
  # })
2302
2373
  #
@@ -2575,6 +2646,30 @@ module Aws::CodePipeline
2575
2646
  # },
2576
2647
  # ],
2577
2648
  # version: 1,
2649
+ # pipeline_type: "V1", # accepts V1, V2
2650
+ # triggers: [
2651
+ # {
2652
+ # provider_type: "CodeStarSourceConnection", # required, accepts CodeStarSourceConnection
2653
+ # git_configuration: { # required
2654
+ # source_action_name: "ActionName", # required
2655
+ # push: [
2656
+ # {
2657
+ # tags: {
2658
+ # includes: ["GitTagNamePattern"],
2659
+ # excludes: ["GitTagNamePattern"],
2660
+ # },
2661
+ # },
2662
+ # ],
2663
+ # },
2664
+ # },
2665
+ # ],
2666
+ # variables: [
2667
+ # {
2668
+ # name: "PipelineVariableName", # required
2669
+ # default_value: "PipelineVariableValue",
2670
+ # description: "PipelineVariableDescription",
2671
+ # },
2672
+ # ],
2578
2673
  # },
2579
2674
  # })
2580
2675
  #
@@ -2613,6 +2708,19 @@ module Aws::CodePipeline
2613
2708
  # resp.pipeline.stages[0].actions[0].region #=> String
2614
2709
  # resp.pipeline.stages[0].actions[0].namespace #=> String
2615
2710
  # resp.pipeline.version #=> Integer
2711
+ # resp.pipeline.pipeline_type #=> String, one of "V1", "V2"
2712
+ # resp.pipeline.triggers #=> Array
2713
+ # resp.pipeline.triggers[0].provider_type #=> String, one of "CodeStarSourceConnection"
2714
+ # resp.pipeline.triggers[0].git_configuration.source_action_name #=> String
2715
+ # resp.pipeline.triggers[0].git_configuration.push #=> Array
2716
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.includes #=> Array
2717
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.includes[0] #=> String
2718
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.excludes #=> Array
2719
+ # resp.pipeline.triggers[0].git_configuration.push[0].tags.excludes[0] #=> String
2720
+ # resp.pipeline.variables #=> Array
2721
+ # resp.pipeline.variables[0].name #=> String
2722
+ # resp.pipeline.variables[0].default_value #=> String
2723
+ # resp.pipeline.variables[0].description #=> String
2616
2724
  #
2617
2725
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline AWS API Documentation
2618
2726
  #
@@ -2636,7 +2744,7 @@ module Aws::CodePipeline
2636
2744
  params: params,
2637
2745
  config: config)
2638
2746
  context[:gem_name] = 'aws-sdk-codepipeline'
2639
- context[:gem_version] = '1.62.0'
2747
+ context[:gem_version] = '1.64.0'
2640
2748
  Seahorse::Client::Request.new(handlers, context)
2641
2749
  end
2642
2750
 
@@ -142,6 +142,12 @@ module Aws::CodePipeline
142
142
  GetPipelineStateOutput = Shapes::StructureShape.new(name: 'GetPipelineStateOutput')
143
143
  GetThirdPartyJobDetailsInput = Shapes::StructureShape.new(name: 'GetThirdPartyJobDetailsInput')
144
144
  GetThirdPartyJobDetailsOutput = Shapes::StructureShape.new(name: 'GetThirdPartyJobDetailsOutput')
145
+ GitConfiguration = Shapes::StructureShape.new(name: 'GitConfiguration')
146
+ GitPushFilter = Shapes::StructureShape.new(name: 'GitPushFilter')
147
+ GitPushFilterList = Shapes::ListShape.new(name: 'GitPushFilterList')
148
+ GitTagFilterCriteria = Shapes::StructureShape.new(name: 'GitTagFilterCriteria')
149
+ GitTagNamePattern = Shapes::StringShape.new(name: 'GitTagNamePattern')
150
+ GitTagPatternList = Shapes::ListShape.new(name: 'GitTagPatternList')
145
151
  InputArtifact = Shapes::StructureShape.new(name: 'InputArtifact')
146
152
  InputArtifactList = Shapes::ListShape.new(name: 'InputArtifactList')
147
153
  InvalidActionDeclarationException = Shapes::StructureShape.new(name: 'InvalidActionDeclarationException')
@@ -224,6 +230,17 @@ module Aws::CodePipeline
224
230
  PipelineNotFoundException = Shapes::StructureShape.new(name: 'PipelineNotFoundException')
225
231
  PipelineStageDeclarationList = Shapes::ListShape.new(name: 'PipelineStageDeclarationList')
226
232
  PipelineSummary = Shapes::StructureShape.new(name: 'PipelineSummary')
233
+ PipelineTriggerDeclaration = Shapes::StructureShape.new(name: 'PipelineTriggerDeclaration')
234
+ PipelineTriggerDeclarationList = Shapes::ListShape.new(name: 'PipelineTriggerDeclarationList')
235
+ PipelineTriggerProviderType = Shapes::StringShape.new(name: 'PipelineTriggerProviderType')
236
+ PipelineType = Shapes::StringShape.new(name: 'PipelineType')
237
+ PipelineVariable = Shapes::StructureShape.new(name: 'PipelineVariable')
238
+ PipelineVariableDeclaration = Shapes::StructureShape.new(name: 'PipelineVariableDeclaration')
239
+ PipelineVariableDeclarationList = Shapes::ListShape.new(name: 'PipelineVariableDeclarationList')
240
+ PipelineVariableDescription = Shapes::StringShape.new(name: 'PipelineVariableDescription')
241
+ PipelineVariableList = Shapes::ListShape.new(name: 'PipelineVariableList')
242
+ PipelineVariableName = Shapes::StringShape.new(name: 'PipelineVariableName')
243
+ PipelineVariableValue = Shapes::StringShape.new(name: 'PipelineVariableValue')
227
244
  PipelineVersion = Shapes::IntegerShape.new(name: 'PipelineVersion')
228
245
  PipelineVersionNotFoundException = Shapes::StructureShape.new(name: 'PipelineVersionNotFoundException')
229
246
  PolicyStatementsTemplate = Shapes::StringShape.new(name: 'PolicyStatementsTemplate')
@@ -249,6 +266,8 @@ module Aws::CodePipeline
249
266
  RegisterWebhookWithThirdPartyOutput = Shapes::StructureShape.new(name: 'RegisterWebhookWithThirdPartyOutput')
250
267
  RequestFailedException = Shapes::StructureShape.new(name: 'RequestFailedException')
251
268
  ResolvedActionConfigurationMap = Shapes::MapShape.new(name: 'ResolvedActionConfigurationMap')
269
+ ResolvedPipelineVariable = Shapes::StructureShape.new(name: 'ResolvedPipelineVariable')
270
+ ResolvedPipelineVariableList = Shapes::ListShape.new(name: 'ResolvedPipelineVariableList')
252
271
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
253
272
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
254
273
  RetryStageExecutionInput = Shapes::StructureShape.new(name: 'RetryStageExecutionInput')
@@ -707,6 +726,21 @@ module Aws::CodePipeline
707
726
  GetThirdPartyJobDetailsOutput.add_member(:job_details, Shapes::ShapeRef.new(shape: ThirdPartyJobDetails, location_name: "jobDetails"))
708
727
  GetThirdPartyJobDetailsOutput.struct_class = Types::GetThirdPartyJobDetailsOutput
709
728
 
729
+ GitConfiguration.add_member(:source_action_name, Shapes::ShapeRef.new(shape: ActionName, required: true, location_name: "sourceActionName"))
730
+ GitConfiguration.add_member(:push, Shapes::ShapeRef.new(shape: GitPushFilterList, location_name: "push"))
731
+ GitConfiguration.struct_class = Types::GitConfiguration
732
+
733
+ GitPushFilter.add_member(:tags, Shapes::ShapeRef.new(shape: GitTagFilterCriteria, location_name: "tags"))
734
+ GitPushFilter.struct_class = Types::GitPushFilter
735
+
736
+ GitPushFilterList.member = Shapes::ShapeRef.new(shape: GitPushFilter)
737
+
738
+ GitTagFilterCriteria.add_member(:includes, Shapes::ShapeRef.new(shape: GitTagPatternList, location_name: "includes"))
739
+ GitTagFilterCriteria.add_member(:excludes, Shapes::ShapeRef.new(shape: GitTagPatternList, location_name: "excludes"))
740
+ GitTagFilterCriteria.struct_class = Types::GitTagFilterCriteria
741
+
742
+ GitTagPatternList.member = Shapes::ShapeRef.new(shape: GitTagNamePattern)
743
+
710
744
  InputArtifact.add_member(:name, Shapes::ShapeRef.new(shape: ArtifactName, required: true, location_name: "name"))
711
745
  InputArtifact.struct_class = Types::InputArtifact
712
746
 
@@ -864,6 +898,9 @@ module Aws::CodePipeline
864
898
  PipelineDeclaration.add_member(:artifact_stores, Shapes::ShapeRef.new(shape: ArtifactStoreMap, location_name: "artifactStores"))
865
899
  PipelineDeclaration.add_member(:stages, Shapes::ShapeRef.new(shape: PipelineStageDeclarationList, required: true, location_name: "stages"))
866
900
  PipelineDeclaration.add_member(:version, Shapes::ShapeRef.new(shape: PipelineVersion, location_name: "version"))
901
+ PipelineDeclaration.add_member(:pipeline_type, Shapes::ShapeRef.new(shape: PipelineType, location_name: "pipelineType"))
902
+ PipelineDeclaration.add_member(:triggers, Shapes::ShapeRef.new(shape: PipelineTriggerDeclarationList, location_name: "triggers"))
903
+ PipelineDeclaration.add_member(:variables, Shapes::ShapeRef.new(shape: PipelineVariableDeclarationList, location_name: "variables"))
867
904
  PipelineDeclaration.struct_class = Types::PipelineDeclaration
868
905
 
869
906
  PipelineExecution.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "pipelineName"))
@@ -872,6 +909,8 @@ module Aws::CodePipeline
872
909
  PipelineExecution.add_member(:status, Shapes::ShapeRef.new(shape: PipelineExecutionStatus, location_name: "status"))
873
910
  PipelineExecution.add_member(:status_summary, Shapes::ShapeRef.new(shape: PipelineExecutionStatusSummary, location_name: "statusSummary"))
874
911
  PipelineExecution.add_member(:artifact_revisions, Shapes::ShapeRef.new(shape: ArtifactRevisionList, location_name: "artifactRevisions"))
912
+ PipelineExecution.add_member(:trigger, Shapes::ShapeRef.new(shape: ExecutionTrigger, location_name: "trigger"))
913
+ PipelineExecution.add_member(:variables, Shapes::ShapeRef.new(shape: ResolvedPipelineVariableList, location_name: "variables"))
875
914
  PipelineExecution.struct_class = Types::PipelineExecution
876
915
 
877
916
  PipelineExecutionNotFoundException.struct_class = Types::PipelineExecutionNotFoundException
@@ -906,10 +945,30 @@ module Aws::CodePipeline
906
945
 
907
946
  PipelineSummary.add_member(:name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "name"))
908
947
  PipelineSummary.add_member(:version, Shapes::ShapeRef.new(shape: PipelineVersion, location_name: "version"))
948
+ PipelineSummary.add_member(:pipeline_type, Shapes::ShapeRef.new(shape: PipelineType, location_name: "pipelineType"))
909
949
  PipelineSummary.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
910
950
  PipelineSummary.add_member(:updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updated"))
911
951
  PipelineSummary.struct_class = Types::PipelineSummary
912
952
 
953
+ PipelineTriggerDeclaration.add_member(:provider_type, Shapes::ShapeRef.new(shape: PipelineTriggerProviderType, required: true, location_name: "providerType"))
954
+ PipelineTriggerDeclaration.add_member(:git_configuration, Shapes::ShapeRef.new(shape: GitConfiguration, required: true, location_name: "gitConfiguration"))
955
+ PipelineTriggerDeclaration.struct_class = Types::PipelineTriggerDeclaration
956
+
957
+ PipelineTriggerDeclarationList.member = Shapes::ShapeRef.new(shape: PipelineTriggerDeclaration)
958
+
959
+ PipelineVariable.add_member(:name, Shapes::ShapeRef.new(shape: PipelineVariableName, required: true, location_name: "name"))
960
+ PipelineVariable.add_member(:value, Shapes::ShapeRef.new(shape: PipelineVariableValue, required: true, location_name: "value"))
961
+ PipelineVariable.struct_class = Types::PipelineVariable
962
+
963
+ PipelineVariableDeclaration.add_member(:name, Shapes::ShapeRef.new(shape: PipelineVariableName, required: true, location_name: "name"))
964
+ PipelineVariableDeclaration.add_member(:default_value, Shapes::ShapeRef.new(shape: PipelineVariableValue, location_name: "defaultValue"))
965
+ PipelineVariableDeclaration.add_member(:description, Shapes::ShapeRef.new(shape: PipelineVariableDescription, location_name: "description"))
966
+ PipelineVariableDeclaration.struct_class = Types::PipelineVariableDeclaration
967
+
968
+ PipelineVariableDeclarationList.member = Shapes::ShapeRef.new(shape: PipelineVariableDeclaration)
969
+
970
+ PipelineVariableList.member = Shapes::ShapeRef.new(shape: PipelineVariable)
971
+
913
972
  PipelineVersionNotFoundException.struct_class = Types::PipelineVersionNotFoundException
914
973
 
915
974
  PollForJobsInput.add_member(:action_type_id, Shapes::ShapeRef.new(shape: ActionTypeId, required: true, location_name: "actionTypeId"))
@@ -995,6 +1054,12 @@ module Aws::CodePipeline
995
1054
  ResolvedActionConfigurationMap.key = Shapes::ShapeRef.new(shape: String)
996
1055
  ResolvedActionConfigurationMap.value = Shapes::ShapeRef.new(shape: String)
997
1056
 
1057
+ ResolvedPipelineVariable.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
1058
+ ResolvedPipelineVariable.add_member(:resolved_value, Shapes::ShapeRef.new(shape: String, location_name: "resolvedValue"))
1059
+ ResolvedPipelineVariable.struct_class = Types::ResolvedPipelineVariable
1060
+
1061
+ ResolvedPipelineVariableList.member = Shapes::ShapeRef.new(shape: ResolvedPipelineVariable)
1062
+
998
1063
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
999
1064
 
1000
1065
  RetryStageExecutionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
@@ -1052,6 +1117,7 @@ module Aws::CodePipeline
1052
1117
  StageStateList.member = Shapes::ShapeRef.new(shape: StageState)
1053
1118
 
1054
1119
  StartPipelineExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "name"))
1120
+ StartPipelineExecutionInput.add_member(:variables, Shapes::ShapeRef.new(shape: PipelineVariableList, location_name: "variables"))
1055
1121
  StartPipelineExecutionInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
1056
1122
  StartPipelineExecutionInput.struct_class = Types::StartPipelineExecutionInput
1057
1123
 
@@ -32,7 +32,7 @@ module Aws::CodePipeline
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://codepipeline-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -1989,6 +1989,82 @@ module Aws::CodePipeline
1989
1989
  include Aws::Structure
1990
1990
  end
1991
1991
 
1992
+ # A type of trigger configuration for Git-based source actions.
1993
+ #
1994
+ # <note markdown="1"> You can specify the Git configuration trigger type for all third-party
1995
+ # Git-based source actions that are supported by the
1996
+ # `CodeStarSourceConnection` action type.
1997
+ #
1998
+ # </note>
1999
+ #
2000
+ # @!attribute [rw] source_action_name
2001
+ # The name of the pipeline source action where the trigger
2002
+ # configuration, such as Git tags, is specified. The trigger
2003
+ # configuration will start the pipeline upon the specified change
2004
+ # only.
2005
+ #
2006
+ # <note markdown="1"> You can only specify one trigger configuration per source action.
2007
+ #
2008
+ # </note>
2009
+ # @return [String]
2010
+ #
2011
+ # @!attribute [rw] push
2012
+ # The field where the repository event that will start the pipeline,
2013
+ # such as pushing Git tags, is specified with details.
2014
+ #
2015
+ # <note markdown="1"> Git tags is the only supported event type.
2016
+ #
2017
+ # </note>
2018
+ # @return [Array<Types::GitPushFilter>]
2019
+ #
2020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GitConfiguration AWS API Documentation
2021
+ #
2022
+ class GitConfiguration < Struct.new(
2023
+ :source_action_name,
2024
+ :push)
2025
+ SENSITIVE = []
2026
+ include Aws::Structure
2027
+ end
2028
+
2029
+ # The event criteria that specify when a specified repository event will
2030
+ # start the pipeline for the specified trigger configuration, such as
2031
+ # the lists of Git tags to include and exclude.
2032
+ #
2033
+ # @!attribute [rw] tags
2034
+ # The field that contains the details for the Git tags trigger
2035
+ # configuration.
2036
+ # @return [Types::GitTagFilterCriteria]
2037
+ #
2038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GitPushFilter AWS API Documentation
2039
+ #
2040
+ class GitPushFilter < Struct.new(
2041
+ :tags)
2042
+ SENSITIVE = []
2043
+ include Aws::Structure
2044
+ end
2045
+
2046
+ # The Git tags specified as filter criteria for whether a Git tag
2047
+ # repository event will start the pipeline.
2048
+ #
2049
+ # @!attribute [rw] includes
2050
+ # The list of patterns of Git tags that, when pushed, are to be
2051
+ # included as criteria that starts the pipeline.
2052
+ # @return [Array<String>]
2053
+ #
2054
+ # @!attribute [rw] excludes
2055
+ # The list of patterns of Git tags that, when pushed, are to be
2056
+ # excluded from starting the pipeline.
2057
+ # @return [Array<String>]
2058
+ #
2059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GitTagFilterCriteria AWS API Documentation
2060
+ #
2061
+ class GitTagFilterCriteria < Struct.new(
2062
+ :includes,
2063
+ :excludes)
2064
+ SENSITIVE = []
2065
+ include Aws::Structure
2066
+ end
2067
+
1992
2068
  # Represents information about an artifact to be worked on, such as a
1993
2069
  # test or build artifact.
1994
2070
  #
@@ -2756,6 +2832,50 @@ module Aws::CodePipeline
2756
2832
  # updated.
2757
2833
  # @return [Integer]
2758
2834
  #
2835
+ # @!attribute [rw] pipeline_type
2836
+ # CodePipeline provides the following pipeline types, which differ in
2837
+ # characteristics and price, so that you can tailor your pipeline
2838
+ # features and cost to the needs of your applications.
2839
+ #
2840
+ # * V1 type pipelines have a JSON structure that contains standard
2841
+ # pipeline, stage, and action-level parameters.
2842
+ #
2843
+ # * V2 type pipelines have the same structure as a V1 type, along with
2844
+ # additional parameters for release safety and trigger
2845
+ # configuration.
2846
+ #
2847
+ # Including V2 parameters, such as triggers on Git tags, in the
2848
+ # pipeline JSON when creating or updating a pipeline will result in
2849
+ # the pipeline having the V2 type of pipeline and the associated
2850
+ # costs.
2851
+ #
2852
+ # For information about pricing for CodePipeline, see [Pricing][1].
2853
+ #
2854
+ # For information about which type of pipeline to choose, see [What
2855
+ # type of pipeline is right for me?][2].
2856
+ #
2857
+ #
2858
+ #
2859
+ # [1]: https://aws.amazon.com/codepipeline/pricing/
2860
+ # [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html
2861
+ # @return [String]
2862
+ #
2863
+ # @!attribute [rw] triggers
2864
+ # The trigger configuration specifying a type of event, such as Git
2865
+ # tags, that starts the pipeline.
2866
+ #
2867
+ # <note markdown="1"> When a trigger configuration is specified, default change detection
2868
+ # for repository and branch commits is disabled.
2869
+ #
2870
+ # </note>
2871
+ # @return [Array<Types::PipelineTriggerDeclaration>]
2872
+ #
2873
+ # @!attribute [rw] variables
2874
+ # A list that defines the pipeline variables for a pipeline resource.
2875
+ # Variable names can have alphanumeric and underscore characters, and
2876
+ # the values must match `[A-Za-z0-9@\-_]+`.
2877
+ # @return [Array<Types::PipelineVariableDeclaration>]
2878
+ #
2759
2879
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineDeclaration AWS API Documentation
2760
2880
  #
2761
2881
  class PipelineDeclaration < Struct.new(
@@ -2764,7 +2884,10 @@ module Aws::CodePipeline
2764
2884
  :artifact_store,
2765
2885
  :artifact_stores,
2766
2886
  :stages,
2767
- :version)
2887
+ :version,
2888
+ :pipeline_type,
2889
+ :triggers,
2890
+ :variables)
2768
2891
  SENSITIVE = []
2769
2892
  include Aws::Structure
2770
2893
  end
@@ -2825,6 +2948,14 @@ module Aws::CodePipeline
2825
2948
  # execution.
2826
2949
  # @return [Array<Types::ArtifactRevision>]
2827
2950
  #
2951
+ # @!attribute [rw] trigger
2952
+ # The interaction or event that started a pipeline execution.
2953
+ # @return [Types::ExecutionTrigger]
2954
+ #
2955
+ # @!attribute [rw] variables
2956
+ # A list of pipeline variables used for the pipeline execution.
2957
+ # @return [Array<Types::ResolvedPipelineVariable>]
2958
+ #
2828
2959
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecution AWS API Documentation
2829
2960
  #
2830
2961
  class PipelineExecution < Struct.new(
@@ -2833,7 +2964,9 @@ module Aws::CodePipeline
2833
2964
  :pipeline_execution_id,
2834
2965
  :status,
2835
2966
  :status_summary,
2836
- :artifact_revisions)
2967
+ :artifact_revisions,
2968
+ :trigger,
2969
+ :variables)
2837
2970
  SENSITIVE = []
2838
2971
  include Aws::Structure
2839
2972
  end
@@ -2993,6 +3126,34 @@ module Aws::CodePipeline
2993
3126
  # The version number of the pipeline.
2994
3127
  # @return [Integer]
2995
3128
  #
3129
+ # @!attribute [rw] pipeline_type
3130
+ # CodePipeline provides the following pipeline types, which differ in
3131
+ # characteristics and price, so that you can tailor your pipeline
3132
+ # features and cost to the needs of your applications.
3133
+ #
3134
+ # * V1 type pipelines have a JSON structure that contains standard
3135
+ # pipeline, stage, and action-level parameters.
3136
+ #
3137
+ # * V2 type pipelines have the same structure as a V1 type, along with
3138
+ # additional parameters for release safety and trigger
3139
+ # configuration.
3140
+ #
3141
+ # Including V2 parameters, such as triggers on Git tags, in the
3142
+ # pipeline JSON when creating or updating a pipeline will result in
3143
+ # the pipeline having the V2 type of pipeline and the associated
3144
+ # costs.
3145
+ #
3146
+ # For information about pricing for CodePipeline, see [Pricing][1].
3147
+ #
3148
+ # For information about which type of pipeline to choose, see [What
3149
+ # type of pipeline is right for me?][2].
3150
+ #
3151
+ #
3152
+ #
3153
+ # [1]: https://aws.amazon.com/codepipeline/pricing/
3154
+ # [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html
3155
+ # @return [String]
3156
+ #
2996
3157
  # @!attribute [rw] created
2997
3158
  # The date and time the pipeline was created, in timestamp format.
2998
3159
  # @return [Time]
@@ -3007,12 +3168,91 @@ module Aws::CodePipeline
3007
3168
  class PipelineSummary < Struct.new(
3008
3169
  :name,
3009
3170
  :version,
3171
+ :pipeline_type,
3010
3172
  :created,
3011
3173
  :updated)
3012
3174
  SENSITIVE = []
3013
3175
  include Aws::Structure
3014
3176
  end
3015
3177
 
3178
+ # Represents information about the specified trigger configuration, such
3179
+ # as the filter criteria and the source stage for the action that
3180
+ # contains the trigger.
3181
+ #
3182
+ # <note markdown="1"> This is only supported for the `CodeStarSourceConnection` action type.
3183
+ #
3184
+ # </note>
3185
+ #
3186
+ # <note markdown="1"> When a trigger configuration is specified, default change detection
3187
+ # for repository and branch commits is disabled.
3188
+ #
3189
+ # </note>
3190
+ #
3191
+ # @!attribute [rw] provider_type
3192
+ # The source provider for the event, such as connections configured
3193
+ # for a repository with Git tags, for the specified trigger
3194
+ # configuration.
3195
+ # @return [String]
3196
+ #
3197
+ # @!attribute [rw] git_configuration
3198
+ # Provides the filter criteria and the source stage for the repository
3199
+ # event that starts the pipeline, such as Git tags.
3200
+ # @return [Types::GitConfiguration]
3201
+ #
3202
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineTriggerDeclaration AWS API Documentation
3203
+ #
3204
+ class PipelineTriggerDeclaration < Struct.new(
3205
+ :provider_type,
3206
+ :git_configuration)
3207
+ SENSITIVE = []
3208
+ include Aws::Structure
3209
+ end
3210
+
3211
+ # A pipeline-level variable used for a pipeline execution.
3212
+ #
3213
+ # @!attribute [rw] name
3214
+ # The name of a pipeline-level variable.
3215
+ # @return [String]
3216
+ #
3217
+ # @!attribute [rw] value
3218
+ # The value of a pipeline-level variable.
3219
+ # @return [String]
3220
+ #
3221
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineVariable AWS API Documentation
3222
+ #
3223
+ class PipelineVariable < Struct.new(
3224
+ :name,
3225
+ :value)
3226
+ SENSITIVE = []
3227
+ include Aws::Structure
3228
+ end
3229
+
3230
+ # A variable declared at the pipeline level.
3231
+ #
3232
+ # @!attribute [rw] name
3233
+ # The name of a pipeline-level variable.
3234
+ # @return [String]
3235
+ #
3236
+ # @!attribute [rw] default_value
3237
+ # The value of a pipeline-level variable.
3238
+ # @return [String]
3239
+ #
3240
+ # @!attribute [rw] description
3241
+ # The description of a pipeline-level variable. It's used to add
3242
+ # additional context about the variable, and not being used at time
3243
+ # when pipeline executes.
3244
+ # @return [String]
3245
+ #
3246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineVariableDeclaration AWS API Documentation
3247
+ #
3248
+ class PipelineVariableDeclaration < Struct.new(
3249
+ :name,
3250
+ :default_value,
3251
+ :description)
3252
+ SENSITIVE = []
3253
+ include Aws::Structure
3254
+ end
3255
+
3016
3256
  # The pipeline version was specified in an invalid format or cannot be
3017
3257
  # found.
3018
3258
  #
@@ -3396,6 +3636,25 @@ module Aws::CodePipeline
3396
3636
  include Aws::Structure
3397
3637
  end
3398
3638
 
3639
+ # A pipeline-level variable used for a pipeline execution.
3640
+ #
3641
+ # @!attribute [rw] name
3642
+ # The name of a pipeline-level variable.
3643
+ # @return [String]
3644
+ #
3645
+ # @!attribute [rw] resolved_value
3646
+ # The resolved value of a pipeline-level variable.
3647
+ # @return [String]
3648
+ #
3649
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ResolvedPipelineVariable AWS API Documentation
3650
+ #
3651
+ class ResolvedPipelineVariable < Struct.new(
3652
+ :name,
3653
+ :resolved_value)
3654
+ SENSITIVE = []
3655
+ include Aws::Structure
3656
+ end
3657
+
3399
3658
  # The resource was specified in an invalid format.
3400
3659
  #
3401
3660
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ResourceNotFoundException AWS API Documentation
@@ -3419,8 +3678,7 @@ module Aws::CodePipeline
3419
3678
  # @return [String]
3420
3679
  #
3421
3680
  # @!attribute [rw] retry_mode
3422
- # The scope of the retry attempt. Currently, the only supported value
3423
- # is FAILED\_ACTIONS.
3681
+ # The scope of the retry attempt.
3424
3682
  # @return [String]
3425
3683
  #
3426
3684
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecutionInput AWS API Documentation
@@ -3644,6 +3902,12 @@ module Aws::CodePipeline
3644
3902
  # The name of the pipeline to start.
3645
3903
  # @return [String]
3646
3904
  #
3905
+ # @!attribute [rw] variables
3906
+ # A list that overrides pipeline variables for a pipeline execution
3907
+ # that's being started. Variable names must match `[A-Za-z0-9@\-_]+`,
3908
+ # and the values can be anything except an empty string.
3909
+ # @return [Array<Types::PipelineVariable>]
3910
+ #
3647
3911
  # @!attribute [rw] client_request_token
3648
3912
  # The system-generated unique ID used to identify a unique execution
3649
3913
  # request.
@@ -3656,6 +3920,7 @@ module Aws::CodePipeline
3656
3920
  #
3657
3921
  class StartPipelineExecutionInput < Struct.new(
3658
3922
  :name,
3923
+ :variables,
3659
3924
  :client_request_token)
3660
3925
  SENSITIVE = []
3661
3926
  include Aws::Structure
@@ -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.62.0'
55
+ GEM_VERSION = '1.64.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.62.0
4
+ version: 1.64.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-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core