aws-sdk-codepipeline 1.63.0 → 1.65.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codepipeline/client.rb +119 -2
- data/lib/aws-sdk-codepipeline/client_api.rb +77 -0
- data/lib/aws-sdk-codepipeline/types.rb +369 -3
- data/lib/aws-sdk-codepipeline.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10db37e32115d8c0ca1e24573c2fea5c73a3796de427688f76c6d36571354f4c
|
4
|
+
data.tar.gz: e45be6c10789a4d5b2d1e95471e031b9f44c105993034cd7aba4972a76034156
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0b78c25971d46953322312a8ae436aa30d8771d0e611bfd1c5fe25bbb7ae8a74b14827ef2683b0622fedf63c8d65ab89d1d75ce99f796d6b80ac57cec237a3a
|
7
|
+
data.tar.gz: 528c9ef0847060b0a3890f17c96cc339f3f992233bb675f3e9d446ed7a3d3e67aba56b42fd55dbf40411a3b1b91f36df032c81998351335cbd2eb7cc9ab449de
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.64.0 (2023-10-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add ability to trigger pipelines from git tags, define variables at pipeline level and new pipeline type V2.
|
13
|
+
|
4
14
|
1.63.0 (2023-10-17)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.65.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
|
@@ -2286,6 +2342,11 @@ module Aws::CodePipeline
|
|
2286
2342
|
# @option params [required, String] :name
|
2287
2343
|
# The name of the pipeline to start.
|
2288
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
|
+
#
|
2289
2350
|
# @option params [String] :client_request_token
|
2290
2351
|
# The system-generated unique ID used to identify a unique execution
|
2291
2352
|
# request.
|
@@ -2293,6 +2354,12 @@ module Aws::CodePipeline
|
|
2293
2354
|
# **A suitable default value is auto-generated.** You should normally
|
2294
2355
|
# not need to pass this option.**
|
2295
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
|
+
#
|
2296
2363
|
# @return [Types::StartPipelineExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2297
2364
|
#
|
2298
2365
|
# * {Types::StartPipelineExecutionOutput#pipeline_execution_id #pipeline_execution_id} => String
|
@@ -2301,7 +2368,20 @@ module Aws::CodePipeline
|
|
2301
2368
|
#
|
2302
2369
|
# resp = client.start_pipeline_execution({
|
2303
2370
|
# name: "PipelineName", # required
|
2371
|
+
# variables: [
|
2372
|
+
# {
|
2373
|
+
# name: "PipelineVariableName", # required
|
2374
|
+
# value: "PipelineVariableValue", # required
|
2375
|
+
# },
|
2376
|
+
# ],
|
2304
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
|
+
# ],
|
2305
2385
|
# })
|
2306
2386
|
#
|
2307
2387
|
# @example Response structure
|
@@ -2579,6 +2659,30 @@ module Aws::CodePipeline
|
|
2579
2659
|
# },
|
2580
2660
|
# ],
|
2581
2661
|
# version: 1,
|
2662
|
+
# pipeline_type: "V1", # accepts V1, V2
|
2663
|
+
# triggers: [
|
2664
|
+
# {
|
2665
|
+
# provider_type: "CodeStarSourceConnection", # required, accepts CodeStarSourceConnection
|
2666
|
+
# git_configuration: { # required
|
2667
|
+
# source_action_name: "ActionName", # required
|
2668
|
+
# push: [
|
2669
|
+
# {
|
2670
|
+
# tags: {
|
2671
|
+
# includes: ["GitTagNamePattern"],
|
2672
|
+
# excludes: ["GitTagNamePattern"],
|
2673
|
+
# },
|
2674
|
+
# },
|
2675
|
+
# ],
|
2676
|
+
# },
|
2677
|
+
# },
|
2678
|
+
# ],
|
2679
|
+
# variables: [
|
2680
|
+
# {
|
2681
|
+
# name: "PipelineVariableName", # required
|
2682
|
+
# default_value: "PipelineVariableValue",
|
2683
|
+
# description: "PipelineVariableDescription",
|
2684
|
+
# },
|
2685
|
+
# ],
|
2582
2686
|
# },
|
2583
2687
|
# })
|
2584
2688
|
#
|
@@ -2617,6 +2721,19 @@ module Aws::CodePipeline
|
|
2617
2721
|
# resp.pipeline.stages[0].actions[0].region #=> String
|
2618
2722
|
# resp.pipeline.stages[0].actions[0].namespace #=> String
|
2619
2723
|
# resp.pipeline.version #=> Integer
|
2724
|
+
# resp.pipeline.pipeline_type #=> String, one of "V1", "V2"
|
2725
|
+
# resp.pipeline.triggers #=> Array
|
2726
|
+
# resp.pipeline.triggers[0].provider_type #=> String, one of "CodeStarSourceConnection"
|
2727
|
+
# resp.pipeline.triggers[0].git_configuration.source_action_name #=> String
|
2728
|
+
# resp.pipeline.triggers[0].git_configuration.push #=> Array
|
2729
|
+
# resp.pipeline.triggers[0].git_configuration.push[0].tags.includes #=> Array
|
2730
|
+
# resp.pipeline.triggers[0].git_configuration.push[0].tags.includes[0] #=> String
|
2731
|
+
# resp.pipeline.triggers[0].git_configuration.push[0].tags.excludes #=> Array
|
2732
|
+
# resp.pipeline.triggers[0].git_configuration.push[0].tags.excludes[0] #=> String
|
2733
|
+
# resp.pipeline.variables #=> Array
|
2734
|
+
# resp.pipeline.variables[0].name #=> String
|
2735
|
+
# resp.pipeline.variables[0].default_value #=> String
|
2736
|
+
# resp.pipeline.variables[0].description #=> String
|
2620
2737
|
#
|
2621
2738
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline AWS API Documentation
|
2622
2739
|
#
|
@@ -2640,7 +2757,7 @@ module Aws::CodePipeline
|
|
2640
2757
|
params: params,
|
2641
2758
|
config: config)
|
2642
2759
|
context[:gem_name] = 'aws-sdk-codepipeline'
|
2643
|
-
context[:gem_version] = '1.
|
2760
|
+
context[:gem_version] = '1.65.0'
|
2644
2761
|
Seahorse::Client::Request.new(handlers, context)
|
2645
2762
|
end
|
2646
2763
|
|
@@ -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')
|
@@ -268,6 +287,9 @@ module Aws::CodePipeline
|
|
268
287
|
SessionToken = Shapes::StringShape.new(name: 'SessionToken')
|
269
288
|
SourceRevision = Shapes::StructureShape.new(name: 'SourceRevision')
|
270
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')
|
271
293
|
StageActionDeclarationList = Shapes::ListShape.new(name: 'StageActionDeclarationList')
|
272
294
|
StageBlockerDeclarationList = Shapes::ListShape.new(name: 'StageBlockerDeclarationList')
|
273
295
|
StageContext = Shapes::StructureShape.new(name: 'StageContext')
|
@@ -707,6 +729,21 @@ module Aws::CodePipeline
|
|
707
729
|
GetThirdPartyJobDetailsOutput.add_member(:job_details, Shapes::ShapeRef.new(shape: ThirdPartyJobDetails, location_name: "jobDetails"))
|
708
730
|
GetThirdPartyJobDetailsOutput.struct_class = Types::GetThirdPartyJobDetailsOutput
|
709
731
|
|
732
|
+
GitConfiguration.add_member(:source_action_name, Shapes::ShapeRef.new(shape: ActionName, required: true, location_name: "sourceActionName"))
|
733
|
+
GitConfiguration.add_member(:push, Shapes::ShapeRef.new(shape: GitPushFilterList, location_name: "push"))
|
734
|
+
GitConfiguration.struct_class = Types::GitConfiguration
|
735
|
+
|
736
|
+
GitPushFilter.add_member(:tags, Shapes::ShapeRef.new(shape: GitTagFilterCriteria, location_name: "tags"))
|
737
|
+
GitPushFilter.struct_class = Types::GitPushFilter
|
738
|
+
|
739
|
+
GitPushFilterList.member = Shapes::ShapeRef.new(shape: GitPushFilter)
|
740
|
+
|
741
|
+
GitTagFilterCriteria.add_member(:includes, Shapes::ShapeRef.new(shape: GitTagPatternList, location_name: "includes"))
|
742
|
+
GitTagFilterCriteria.add_member(:excludes, Shapes::ShapeRef.new(shape: GitTagPatternList, location_name: "excludes"))
|
743
|
+
GitTagFilterCriteria.struct_class = Types::GitTagFilterCriteria
|
744
|
+
|
745
|
+
GitTagPatternList.member = Shapes::ShapeRef.new(shape: GitTagNamePattern)
|
746
|
+
|
710
747
|
InputArtifact.add_member(:name, Shapes::ShapeRef.new(shape: ArtifactName, required: true, location_name: "name"))
|
711
748
|
InputArtifact.struct_class = Types::InputArtifact
|
712
749
|
|
@@ -864,6 +901,9 @@ module Aws::CodePipeline
|
|
864
901
|
PipelineDeclaration.add_member(:artifact_stores, Shapes::ShapeRef.new(shape: ArtifactStoreMap, location_name: "artifactStores"))
|
865
902
|
PipelineDeclaration.add_member(:stages, Shapes::ShapeRef.new(shape: PipelineStageDeclarationList, required: true, location_name: "stages"))
|
866
903
|
PipelineDeclaration.add_member(:version, Shapes::ShapeRef.new(shape: PipelineVersion, location_name: "version"))
|
904
|
+
PipelineDeclaration.add_member(:pipeline_type, Shapes::ShapeRef.new(shape: PipelineType, location_name: "pipelineType"))
|
905
|
+
PipelineDeclaration.add_member(:triggers, Shapes::ShapeRef.new(shape: PipelineTriggerDeclarationList, location_name: "triggers"))
|
906
|
+
PipelineDeclaration.add_member(:variables, Shapes::ShapeRef.new(shape: PipelineVariableDeclarationList, location_name: "variables"))
|
867
907
|
PipelineDeclaration.struct_class = Types::PipelineDeclaration
|
868
908
|
|
869
909
|
PipelineExecution.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "pipelineName"))
|
@@ -872,6 +912,8 @@ module Aws::CodePipeline
|
|
872
912
|
PipelineExecution.add_member(:status, Shapes::ShapeRef.new(shape: PipelineExecutionStatus, location_name: "status"))
|
873
913
|
PipelineExecution.add_member(:status_summary, Shapes::ShapeRef.new(shape: PipelineExecutionStatusSummary, location_name: "statusSummary"))
|
874
914
|
PipelineExecution.add_member(:artifact_revisions, Shapes::ShapeRef.new(shape: ArtifactRevisionList, location_name: "artifactRevisions"))
|
915
|
+
PipelineExecution.add_member(:trigger, Shapes::ShapeRef.new(shape: ExecutionTrigger, location_name: "trigger"))
|
916
|
+
PipelineExecution.add_member(:variables, Shapes::ShapeRef.new(shape: ResolvedPipelineVariableList, location_name: "variables"))
|
875
917
|
PipelineExecution.struct_class = Types::PipelineExecution
|
876
918
|
|
877
919
|
PipelineExecutionNotFoundException.struct_class = Types::PipelineExecutionNotFoundException
|
@@ -906,10 +948,30 @@ module Aws::CodePipeline
|
|
906
948
|
|
907
949
|
PipelineSummary.add_member(:name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "name"))
|
908
950
|
PipelineSummary.add_member(:version, Shapes::ShapeRef.new(shape: PipelineVersion, location_name: "version"))
|
951
|
+
PipelineSummary.add_member(:pipeline_type, Shapes::ShapeRef.new(shape: PipelineType, location_name: "pipelineType"))
|
909
952
|
PipelineSummary.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
|
910
953
|
PipelineSummary.add_member(:updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updated"))
|
911
954
|
PipelineSummary.struct_class = Types::PipelineSummary
|
912
955
|
|
956
|
+
PipelineTriggerDeclaration.add_member(:provider_type, Shapes::ShapeRef.new(shape: PipelineTriggerProviderType, required: true, location_name: "providerType"))
|
957
|
+
PipelineTriggerDeclaration.add_member(:git_configuration, Shapes::ShapeRef.new(shape: GitConfiguration, required: true, location_name: "gitConfiguration"))
|
958
|
+
PipelineTriggerDeclaration.struct_class = Types::PipelineTriggerDeclaration
|
959
|
+
|
960
|
+
PipelineTriggerDeclarationList.member = Shapes::ShapeRef.new(shape: PipelineTriggerDeclaration)
|
961
|
+
|
962
|
+
PipelineVariable.add_member(:name, Shapes::ShapeRef.new(shape: PipelineVariableName, required: true, location_name: "name"))
|
963
|
+
PipelineVariable.add_member(:value, Shapes::ShapeRef.new(shape: PipelineVariableValue, required: true, location_name: "value"))
|
964
|
+
PipelineVariable.struct_class = Types::PipelineVariable
|
965
|
+
|
966
|
+
PipelineVariableDeclaration.add_member(:name, Shapes::ShapeRef.new(shape: PipelineVariableName, required: true, location_name: "name"))
|
967
|
+
PipelineVariableDeclaration.add_member(:default_value, Shapes::ShapeRef.new(shape: PipelineVariableValue, location_name: "defaultValue"))
|
968
|
+
PipelineVariableDeclaration.add_member(:description, Shapes::ShapeRef.new(shape: PipelineVariableDescription, location_name: "description"))
|
969
|
+
PipelineVariableDeclaration.struct_class = Types::PipelineVariableDeclaration
|
970
|
+
|
971
|
+
PipelineVariableDeclarationList.member = Shapes::ShapeRef.new(shape: PipelineVariableDeclaration)
|
972
|
+
|
973
|
+
PipelineVariableList.member = Shapes::ShapeRef.new(shape: PipelineVariable)
|
974
|
+
|
913
975
|
PipelineVersionNotFoundException.struct_class = Types::PipelineVersionNotFoundException
|
914
976
|
|
915
977
|
PollForJobsInput.add_member(:action_type_id, Shapes::ShapeRef.new(shape: ActionTypeId, required: true, location_name: "actionTypeId"))
|
@@ -995,6 +1057,12 @@ module Aws::CodePipeline
|
|
995
1057
|
ResolvedActionConfigurationMap.key = Shapes::ShapeRef.new(shape: String)
|
996
1058
|
ResolvedActionConfigurationMap.value = Shapes::ShapeRef.new(shape: String)
|
997
1059
|
|
1060
|
+
ResolvedPipelineVariable.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
1061
|
+
ResolvedPipelineVariable.add_member(:resolved_value, Shapes::ShapeRef.new(shape: String, location_name: "resolvedValue"))
|
1062
|
+
ResolvedPipelineVariable.struct_class = Types::ResolvedPipelineVariable
|
1063
|
+
|
1064
|
+
ResolvedPipelineVariableList.member = Shapes::ShapeRef.new(shape: ResolvedPipelineVariable)
|
1065
|
+
|
998
1066
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
999
1067
|
|
1000
1068
|
RetryStageExecutionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
|
@@ -1022,6 +1090,13 @@ module Aws::CodePipeline
|
|
1022
1090
|
|
1023
1091
|
SourceRevisionList.member = Shapes::ShapeRef.new(shape: SourceRevision)
|
1024
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
|
+
|
1025
1100
|
StageActionDeclarationList.member = Shapes::ShapeRef.new(shape: ActionDeclaration)
|
1026
1101
|
|
1027
1102
|
StageBlockerDeclarationList.member = Shapes::ShapeRef.new(shape: BlockerDeclaration)
|
@@ -1052,7 +1127,9 @@ module Aws::CodePipeline
|
|
1052
1127
|
StageStateList.member = Shapes::ShapeRef.new(shape: StageState)
|
1053
1128
|
|
1054
1129
|
StartPipelineExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "name"))
|
1130
|
+
StartPipelineExecutionInput.add_member(:variables, Shapes::ShapeRef.new(shape: PipelineVariableList, location_name: "variables"))
|
1055
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"))
|
1056
1133
|
StartPipelineExecutionInput.struct_class = Types::StartPipelineExecutionInput
|
1057
1134
|
|
1058
1135
|
StartPipelineExecutionOutput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
|
@@ -1989,6 +1989,93 @@ 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
|
+
# <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
|
+
#
|
2011
|
+
# @!attribute [rw] source_action_name
|
2012
|
+
# The name of the pipeline source action where the trigger
|
2013
|
+
# configuration, such as Git tags, is specified. The trigger
|
2014
|
+
# configuration will start the pipeline upon the specified change
|
2015
|
+
# only.
|
2016
|
+
#
|
2017
|
+
# <note markdown="1"> You can only specify one trigger configuration per source action.
|
2018
|
+
#
|
2019
|
+
# </note>
|
2020
|
+
# @return [String]
|
2021
|
+
#
|
2022
|
+
# @!attribute [rw] push
|
2023
|
+
# The field where the repository event that will start the pipeline,
|
2024
|
+
# such as pushing Git tags, is specified with details.
|
2025
|
+
#
|
2026
|
+
# <note markdown="1"> Git tags is the only supported event type.
|
2027
|
+
#
|
2028
|
+
# </note>
|
2029
|
+
# @return [Array<Types::GitPushFilter>]
|
2030
|
+
#
|
2031
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GitConfiguration AWS API Documentation
|
2032
|
+
#
|
2033
|
+
class GitConfiguration < Struct.new(
|
2034
|
+
:source_action_name,
|
2035
|
+
:push)
|
2036
|
+
SENSITIVE = []
|
2037
|
+
include Aws::Structure
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
# The event criteria that specify when a specified repository event will
|
2041
|
+
# start the pipeline for the specified trigger configuration, such as
|
2042
|
+
# the lists of Git tags to include and exclude.
|
2043
|
+
#
|
2044
|
+
# @!attribute [rw] tags
|
2045
|
+
# The field that contains the details for the Git tags trigger
|
2046
|
+
# configuration.
|
2047
|
+
# @return [Types::GitTagFilterCriteria]
|
2048
|
+
#
|
2049
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GitPushFilter AWS API Documentation
|
2050
|
+
#
|
2051
|
+
class GitPushFilter < Struct.new(
|
2052
|
+
:tags)
|
2053
|
+
SENSITIVE = []
|
2054
|
+
include Aws::Structure
|
2055
|
+
end
|
2056
|
+
|
2057
|
+
# The Git tags specified as filter criteria for whether a Git tag
|
2058
|
+
# repository event will start the pipeline.
|
2059
|
+
#
|
2060
|
+
# @!attribute [rw] includes
|
2061
|
+
# The list of patterns of Git tags that, when pushed, are to be
|
2062
|
+
# included as criteria that starts the pipeline.
|
2063
|
+
# @return [Array<String>]
|
2064
|
+
#
|
2065
|
+
# @!attribute [rw] excludes
|
2066
|
+
# The list of patterns of Git tags that, when pushed, are to be
|
2067
|
+
# excluded from starting the pipeline.
|
2068
|
+
# @return [Array<String>]
|
2069
|
+
#
|
2070
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GitTagFilterCriteria AWS API Documentation
|
2071
|
+
#
|
2072
|
+
class GitTagFilterCriteria < Struct.new(
|
2073
|
+
:includes,
|
2074
|
+
:excludes)
|
2075
|
+
SENSITIVE = []
|
2076
|
+
include Aws::Structure
|
2077
|
+
end
|
2078
|
+
|
1992
2079
|
# Represents information about an artifact to be worked on, such as a
|
1993
2080
|
# test or build artifact.
|
1994
2081
|
#
|
@@ -2756,6 +2843,59 @@ module Aws::CodePipeline
|
|
2756
2843
|
# updated.
|
2757
2844
|
# @return [Integer]
|
2758
2845
|
#
|
2846
|
+
# @!attribute [rw] pipeline_type
|
2847
|
+
# CodePipeline provides the following pipeline types, which differ in
|
2848
|
+
# characteristics and price, so that you can tailor your pipeline
|
2849
|
+
# features and cost to the needs of your applications.
|
2850
|
+
#
|
2851
|
+
# * V1 type pipelines have a JSON structure that contains standard
|
2852
|
+
# pipeline, stage, and action-level parameters.
|
2853
|
+
#
|
2854
|
+
# * V2 type pipelines have the same structure as a V1 type, along with
|
2855
|
+
# additional parameters for release safety and trigger
|
2856
|
+
# configuration.
|
2857
|
+
#
|
2858
|
+
# Including V2 parameters, such as triggers on Git tags, in the
|
2859
|
+
# pipeline JSON when creating or updating a pipeline will result in
|
2860
|
+
# the pipeline having the V2 type of pipeline and the associated
|
2861
|
+
# costs.
|
2862
|
+
#
|
2863
|
+
# For information about pricing for CodePipeline, see [Pricing][1].
|
2864
|
+
#
|
2865
|
+
# For information about which type of pipeline to choose, see [What
|
2866
|
+
# type of pipeline is right for me?][2].
|
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
|
+
#
|
2876
|
+
#
|
2877
|
+
#
|
2878
|
+
# [1]: https://aws.amazon.com/codepipeline/pricing/
|
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
|
2881
|
+
# @return [String]
|
2882
|
+
#
|
2883
|
+
# @!attribute [rw] triggers
|
2884
|
+
# The trigger configuration specifying a type of event, such as Git
|
2885
|
+
# tags, that starts the pipeline.
|
2886
|
+
#
|
2887
|
+
# <note markdown="1"> When a trigger configuration is specified, default change detection
|
2888
|
+
# for repository and branch commits is disabled.
|
2889
|
+
#
|
2890
|
+
# </note>
|
2891
|
+
# @return [Array<Types::PipelineTriggerDeclaration>]
|
2892
|
+
#
|
2893
|
+
# @!attribute [rw] variables
|
2894
|
+
# A list that defines the pipeline variables for a pipeline resource.
|
2895
|
+
# Variable names can have alphanumeric and underscore characters, and
|
2896
|
+
# the values must match `[A-Za-z0-9@\-_]+`.
|
2897
|
+
# @return [Array<Types::PipelineVariableDeclaration>]
|
2898
|
+
#
|
2759
2899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineDeclaration AWS API Documentation
|
2760
2900
|
#
|
2761
2901
|
class PipelineDeclaration < Struct.new(
|
@@ -2764,7 +2904,10 @@ module Aws::CodePipeline
|
|
2764
2904
|
:artifact_store,
|
2765
2905
|
:artifact_stores,
|
2766
2906
|
:stages,
|
2767
|
-
:version
|
2907
|
+
:version,
|
2908
|
+
:pipeline_type,
|
2909
|
+
:triggers,
|
2910
|
+
:variables)
|
2768
2911
|
SENSITIVE = []
|
2769
2912
|
include Aws::Structure
|
2770
2913
|
end
|
@@ -2825,6 +2968,14 @@ module Aws::CodePipeline
|
|
2825
2968
|
# execution.
|
2826
2969
|
# @return [Array<Types::ArtifactRevision>]
|
2827
2970
|
#
|
2971
|
+
# @!attribute [rw] trigger
|
2972
|
+
# The interaction or event that started a pipeline execution.
|
2973
|
+
# @return [Types::ExecutionTrigger]
|
2974
|
+
#
|
2975
|
+
# @!attribute [rw] variables
|
2976
|
+
# A list of pipeline variables used for the pipeline execution.
|
2977
|
+
# @return [Array<Types::ResolvedPipelineVariable>]
|
2978
|
+
#
|
2828
2979
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecution AWS API Documentation
|
2829
2980
|
#
|
2830
2981
|
class PipelineExecution < Struct.new(
|
@@ -2833,7 +2984,9 @@ module Aws::CodePipeline
|
|
2833
2984
|
:pipeline_execution_id,
|
2834
2985
|
:status,
|
2835
2986
|
:status_summary,
|
2836
|
-
:artifact_revisions
|
2987
|
+
:artifact_revisions,
|
2988
|
+
:trigger,
|
2989
|
+
:variables)
|
2837
2990
|
SENSITIVE = []
|
2838
2991
|
include Aws::Structure
|
2839
2992
|
end
|
@@ -2993,6 +3146,43 @@ module Aws::CodePipeline
|
|
2993
3146
|
# The version number of the pipeline.
|
2994
3147
|
# @return [Integer]
|
2995
3148
|
#
|
3149
|
+
# @!attribute [rw] pipeline_type
|
3150
|
+
# CodePipeline provides the following pipeline types, which differ in
|
3151
|
+
# characteristics and price, so that you can tailor your pipeline
|
3152
|
+
# features and cost to the needs of your applications.
|
3153
|
+
#
|
3154
|
+
# * V1 type pipelines have a JSON structure that contains standard
|
3155
|
+
# pipeline, stage, and action-level parameters.
|
3156
|
+
#
|
3157
|
+
# * V2 type pipelines have the same structure as a V1 type, along with
|
3158
|
+
# additional parameters for release safety and trigger
|
3159
|
+
# configuration.
|
3160
|
+
#
|
3161
|
+
# Including V2 parameters, such as triggers on Git tags, in the
|
3162
|
+
# pipeline JSON when creating or updating a pipeline will result in
|
3163
|
+
# the pipeline having the V2 type of pipeline and the associated
|
3164
|
+
# costs.
|
3165
|
+
#
|
3166
|
+
# For information about pricing for CodePipeline, see [Pricing][1].
|
3167
|
+
#
|
3168
|
+
# For information about which type of pipeline to choose, see [What
|
3169
|
+
# type of pipeline is right for me?][2].
|
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
|
+
#
|
3179
|
+
#
|
3180
|
+
#
|
3181
|
+
# [1]: https://aws.amazon.com/codepipeline/pricing/
|
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
|
3184
|
+
# @return [String]
|
3185
|
+
#
|
2996
3186
|
# @!attribute [rw] created
|
2997
3187
|
# The date and time the pipeline was created, in timestamp format.
|
2998
3188
|
# @return [Time]
|
@@ -3007,12 +3197,124 @@ module Aws::CodePipeline
|
|
3007
3197
|
class PipelineSummary < Struct.new(
|
3008
3198
|
:name,
|
3009
3199
|
:version,
|
3200
|
+
:pipeline_type,
|
3010
3201
|
:created,
|
3011
3202
|
:updated)
|
3012
3203
|
SENSITIVE = []
|
3013
3204
|
include Aws::Structure
|
3014
3205
|
end
|
3015
3206
|
|
3207
|
+
# Represents information about the specified trigger configuration, such
|
3208
|
+
# as the filter criteria and the source stage for the action that
|
3209
|
+
# contains the trigger.
|
3210
|
+
#
|
3211
|
+
# <note markdown="1"> This is only supported for the `CodeStarSourceConnection` action type.
|
3212
|
+
#
|
3213
|
+
# </note>
|
3214
|
+
#
|
3215
|
+
# <note markdown="1"> When a trigger configuration is specified, default change detection
|
3216
|
+
# for repository and branch commits is disabled.
|
3217
|
+
#
|
3218
|
+
# </note>
|
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
|
+
#
|
3231
|
+
# @!attribute [rw] provider_type
|
3232
|
+
# The source provider for the event, such as connections configured
|
3233
|
+
# for a repository with Git tags, for the specified trigger
|
3234
|
+
# configuration.
|
3235
|
+
# @return [String]
|
3236
|
+
#
|
3237
|
+
# @!attribute [rw] git_configuration
|
3238
|
+
# Provides the filter criteria and the source stage for the repository
|
3239
|
+
# event that starts the pipeline, such as Git tags.
|
3240
|
+
# @return [Types::GitConfiguration]
|
3241
|
+
#
|
3242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineTriggerDeclaration AWS API Documentation
|
3243
|
+
#
|
3244
|
+
class PipelineTriggerDeclaration < Struct.new(
|
3245
|
+
:provider_type,
|
3246
|
+
:git_configuration)
|
3247
|
+
SENSITIVE = []
|
3248
|
+
include Aws::Structure
|
3249
|
+
end
|
3250
|
+
|
3251
|
+
# A pipeline-level variable used for a pipeline execution.
|
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
|
+
#
|
3264
|
+
# @!attribute [rw] name
|
3265
|
+
# The name of a pipeline-level variable.
|
3266
|
+
# @return [String]
|
3267
|
+
#
|
3268
|
+
# @!attribute [rw] value
|
3269
|
+
# The value of a pipeline-level variable.
|
3270
|
+
# @return [String]
|
3271
|
+
#
|
3272
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineVariable AWS API Documentation
|
3273
|
+
#
|
3274
|
+
class PipelineVariable < Struct.new(
|
3275
|
+
:name,
|
3276
|
+
:value)
|
3277
|
+
SENSITIVE = []
|
3278
|
+
include Aws::Structure
|
3279
|
+
end
|
3280
|
+
|
3281
|
+
# A variable declared at the pipeline level.
|
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
|
+
#
|
3294
|
+
# @!attribute [rw] name
|
3295
|
+
# The name of a pipeline-level variable.
|
3296
|
+
# @return [String]
|
3297
|
+
#
|
3298
|
+
# @!attribute [rw] default_value
|
3299
|
+
# The value of a pipeline-level variable.
|
3300
|
+
# @return [String]
|
3301
|
+
#
|
3302
|
+
# @!attribute [rw] description
|
3303
|
+
# The description of a pipeline-level variable. It's used to add
|
3304
|
+
# additional context about the variable, and not being used at time
|
3305
|
+
# when pipeline executes.
|
3306
|
+
# @return [String]
|
3307
|
+
#
|
3308
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineVariableDeclaration AWS API Documentation
|
3309
|
+
#
|
3310
|
+
class PipelineVariableDeclaration < Struct.new(
|
3311
|
+
:name,
|
3312
|
+
:default_value,
|
3313
|
+
:description)
|
3314
|
+
SENSITIVE = []
|
3315
|
+
include Aws::Structure
|
3316
|
+
end
|
3317
|
+
|
3016
3318
|
# The pipeline version was specified in an invalid format or cannot be
|
3017
3319
|
# found.
|
3018
3320
|
#
|
@@ -3396,6 +3698,25 @@ module Aws::CodePipeline
|
|
3396
3698
|
include Aws::Structure
|
3397
3699
|
end
|
3398
3700
|
|
3701
|
+
# A pipeline-level variable used for a pipeline execution.
|
3702
|
+
#
|
3703
|
+
# @!attribute [rw] name
|
3704
|
+
# The name of a pipeline-level variable.
|
3705
|
+
# @return [String]
|
3706
|
+
#
|
3707
|
+
# @!attribute [rw] resolved_value
|
3708
|
+
# The resolved value of a pipeline-level variable.
|
3709
|
+
# @return [String]
|
3710
|
+
#
|
3711
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ResolvedPipelineVariable AWS API Documentation
|
3712
|
+
#
|
3713
|
+
class ResolvedPipelineVariable < Struct.new(
|
3714
|
+
:name,
|
3715
|
+
:resolved_value)
|
3716
|
+
SENSITIVE = []
|
3717
|
+
include Aws::Structure
|
3718
|
+
end
|
3719
|
+
|
3399
3720
|
# The resource was specified in an invalid format.
|
3400
3721
|
#
|
3401
3722
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ResourceNotFoundException AWS API Documentation
|
@@ -3524,6 +3845,36 @@ module Aws::CodePipeline
|
|
3524
3845
|
include Aws::Structure
|
3525
3846
|
end
|
3526
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
|
+
|
3527
3878
|
# Represents information about a stage to a job worker.
|
3528
3879
|
#
|
3529
3880
|
# @!attribute [rw] name
|
@@ -3643,6 +3994,12 @@ module Aws::CodePipeline
|
|
3643
3994
|
# The name of the pipeline to start.
|
3644
3995
|
# @return [String]
|
3645
3996
|
#
|
3997
|
+
# @!attribute [rw] variables
|
3998
|
+
# A list that overrides pipeline variables for a pipeline execution
|
3999
|
+
# that's being started. Variable names must match `[A-Za-z0-9@\-_]+`,
|
4000
|
+
# and the values can be anything except an empty string.
|
4001
|
+
# @return [Array<Types::PipelineVariable>]
|
4002
|
+
#
|
3646
4003
|
# @!attribute [rw] client_request_token
|
3647
4004
|
# The system-generated unique ID used to identify a unique execution
|
3648
4005
|
# request.
|
@@ -3651,11 +4008,20 @@ module Aws::CodePipeline
|
|
3651
4008
|
# not need to pass this option.
|
3652
4009
|
# @return [String]
|
3653
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
|
+
#
|
3654
4018
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecutionInput AWS API Documentation
|
3655
4019
|
#
|
3656
4020
|
class StartPipelineExecutionInput < Struct.new(
|
3657
4021
|
:name,
|
3658
|
-
:
|
4022
|
+
:variables,
|
4023
|
+
:client_request_token,
|
4024
|
+
:source_revisions)
|
3659
4025
|
SENSITIVE = []
|
3660
4026
|
include Aws::Structure
|
3661
4027
|
end
|
data/lib/aws-sdk-codepipeline.rb
CHANGED
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.
|
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-
|
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
|