aws-sdk-codepipeline 1.85.0 → 1.86.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codepipeline/client.rb +25 -1
- data/lib/aws-sdk-codepipeline/client_api.rb +15 -0
- data/lib/aws-sdk-codepipeline/types.rb +27 -1
- data/lib/aws-sdk-codepipeline.rb +1 -1
- data/sig/client.rbs +8 -2
- data/sig/types.rbs +3 -0
- 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: 6d65207de970da92b8c1f77b34b12200c5aa8e7edac9a73e71fe5b99b7eb29a8
|
4
|
+
data.tar.gz: 103af5f0d37b8e12a40d98efe9bd0964714be56cd734551264c4f34b1f1bba38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f9fc205df8226381e0414f2e6de3d9e99c2dbb27e026cd425e71b94426eb4c05a40d1e86a9b66ec00a244970ff545761bd44a392fb39412c19ba5a751e728a4
|
7
|
+
data.tar.gz: a42bf08c0df6cfd74e4ea408ba2f25a0d2b91deb5a774fc4e8907bb5aceb498e1ce86d677dab1893b3dda3d4226a714c81639295962b1c9311b5b0993a14dcb2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.86.0 (2024-10-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS CodePipeline introduces Commands action that enables you to easily run shell commands as part of your pipeline execution.
|
8
|
+
|
4
9
|
1.85.0 (2024-09-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.86.0
|
@@ -721,9 +721,11 @@ module Aws::CodePipeline
|
|
721
721
|
# configuration: {
|
722
722
|
# "ActionConfigurationKey" => "ActionConfigurationValue",
|
723
723
|
# },
|
724
|
+
# commands: ["Command"],
|
724
725
|
# output_artifacts: [
|
725
726
|
# {
|
726
727
|
# name: "ArtifactName", # required
|
728
|
+
# files: ["FilePath"],
|
727
729
|
# },
|
728
730
|
# ],
|
729
731
|
# input_artifacts: [
|
@@ -731,6 +733,7 @@ module Aws::CodePipeline
|
|
731
733
|
# name: "ArtifactName", # required
|
732
734
|
# },
|
733
735
|
# ],
|
736
|
+
# output_variables: ["OutputVariable"],
|
734
737
|
# role_arn: "RoleArn",
|
735
738
|
# region: "AWSRegionName",
|
736
739
|
# namespace: "ActionNamespace",
|
@@ -910,10 +913,16 @@ module Aws::CodePipeline
|
|
910
913
|
# resp.pipeline.stages[0].actions[0].run_order #=> Integer
|
911
914
|
# resp.pipeline.stages[0].actions[0].configuration #=> Hash
|
912
915
|
# resp.pipeline.stages[0].actions[0].configuration["ActionConfigurationKey"] #=> String
|
916
|
+
# resp.pipeline.stages[0].actions[0].commands #=> Array
|
917
|
+
# resp.pipeline.stages[0].actions[0].commands[0] #=> String
|
913
918
|
# resp.pipeline.stages[0].actions[0].output_artifacts #=> Array
|
914
919
|
# resp.pipeline.stages[0].actions[0].output_artifacts[0].name #=> String
|
920
|
+
# resp.pipeline.stages[0].actions[0].output_artifacts[0].files #=> Array
|
921
|
+
# resp.pipeline.stages[0].actions[0].output_artifacts[0].files[0] #=> String
|
915
922
|
# resp.pipeline.stages[0].actions[0].input_artifacts #=> Array
|
916
923
|
# resp.pipeline.stages[0].actions[0].input_artifacts[0].name #=> String
|
924
|
+
# resp.pipeline.stages[0].actions[0].output_variables #=> Array
|
925
|
+
# resp.pipeline.stages[0].actions[0].output_variables[0] #=> String
|
917
926
|
# resp.pipeline.stages[0].actions[0].role_arn #=> String
|
918
927
|
# resp.pipeline.stages[0].actions[0].region #=> String
|
919
928
|
# resp.pipeline.stages[0].actions[0].namespace #=> String
|
@@ -1407,10 +1416,16 @@ module Aws::CodePipeline
|
|
1407
1416
|
# resp.pipeline.stages[0].actions[0].run_order #=> Integer
|
1408
1417
|
# resp.pipeline.stages[0].actions[0].configuration #=> Hash
|
1409
1418
|
# resp.pipeline.stages[0].actions[0].configuration["ActionConfigurationKey"] #=> String
|
1419
|
+
# resp.pipeline.stages[0].actions[0].commands #=> Array
|
1420
|
+
# resp.pipeline.stages[0].actions[0].commands[0] #=> String
|
1410
1421
|
# resp.pipeline.stages[0].actions[0].output_artifacts #=> Array
|
1411
1422
|
# resp.pipeline.stages[0].actions[0].output_artifacts[0].name #=> String
|
1423
|
+
# resp.pipeline.stages[0].actions[0].output_artifacts[0].files #=> Array
|
1424
|
+
# resp.pipeline.stages[0].actions[0].output_artifacts[0].files[0] #=> String
|
1412
1425
|
# resp.pipeline.stages[0].actions[0].input_artifacts #=> Array
|
1413
1426
|
# resp.pipeline.stages[0].actions[0].input_artifacts[0].name #=> String
|
1427
|
+
# resp.pipeline.stages[0].actions[0].output_variables #=> Array
|
1428
|
+
# resp.pipeline.stages[0].actions[0].output_variables[0] #=> String
|
1414
1429
|
# resp.pipeline.stages[0].actions[0].role_arn #=> String
|
1415
1430
|
# resp.pipeline.stages[0].actions[0].region #=> String
|
1416
1431
|
# resp.pipeline.stages[0].actions[0].namespace #=> String
|
@@ -3265,9 +3280,11 @@ module Aws::CodePipeline
|
|
3265
3280
|
# configuration: {
|
3266
3281
|
# "ActionConfigurationKey" => "ActionConfigurationValue",
|
3267
3282
|
# },
|
3283
|
+
# commands: ["Command"],
|
3268
3284
|
# output_artifacts: [
|
3269
3285
|
# {
|
3270
3286
|
# name: "ArtifactName", # required
|
3287
|
+
# files: ["FilePath"],
|
3271
3288
|
# },
|
3272
3289
|
# ],
|
3273
3290
|
# input_artifacts: [
|
@@ -3275,6 +3292,7 @@ module Aws::CodePipeline
|
|
3275
3292
|
# name: "ArtifactName", # required
|
3276
3293
|
# },
|
3277
3294
|
# ],
|
3295
|
+
# output_variables: ["OutputVariable"],
|
3278
3296
|
# role_arn: "RoleArn",
|
3279
3297
|
# region: "AWSRegionName",
|
3280
3298
|
# namespace: "ActionNamespace",
|
@@ -3448,10 +3466,16 @@ module Aws::CodePipeline
|
|
3448
3466
|
# resp.pipeline.stages[0].actions[0].run_order #=> Integer
|
3449
3467
|
# resp.pipeline.stages[0].actions[0].configuration #=> Hash
|
3450
3468
|
# resp.pipeline.stages[0].actions[0].configuration["ActionConfigurationKey"] #=> String
|
3469
|
+
# resp.pipeline.stages[0].actions[0].commands #=> Array
|
3470
|
+
# resp.pipeline.stages[0].actions[0].commands[0] #=> String
|
3451
3471
|
# resp.pipeline.stages[0].actions[0].output_artifacts #=> Array
|
3452
3472
|
# resp.pipeline.stages[0].actions[0].output_artifacts[0].name #=> String
|
3473
|
+
# resp.pipeline.stages[0].actions[0].output_artifacts[0].files #=> Array
|
3474
|
+
# resp.pipeline.stages[0].actions[0].output_artifacts[0].files[0] #=> String
|
3453
3475
|
# resp.pipeline.stages[0].actions[0].input_artifacts #=> Array
|
3454
3476
|
# resp.pipeline.stages[0].actions[0].input_artifacts[0].name #=> String
|
3477
|
+
# resp.pipeline.stages[0].actions[0].output_variables #=> Array
|
3478
|
+
# resp.pipeline.stages[0].actions[0].output_variables[0] #=> String
|
3455
3479
|
# resp.pipeline.stages[0].actions[0].role_arn #=> String
|
3456
3480
|
# resp.pipeline.stages[0].actions[0].region #=> String
|
3457
3481
|
# resp.pipeline.stages[0].actions[0].namespace #=> String
|
@@ -3564,7 +3588,7 @@ module Aws::CodePipeline
|
|
3564
3588
|
tracer: tracer
|
3565
3589
|
)
|
3566
3590
|
context[:gem_name] = 'aws-sdk-codepipeline'
|
3567
|
-
context[:gem_version] = '1.
|
3591
|
+
context[:gem_version] = '1.86.0'
|
3568
3592
|
Seahorse::Client::Request.new(handlers, context)
|
3569
3593
|
end
|
3570
3594
|
|
@@ -99,6 +99,8 @@ module Aws::CodePipeline
|
|
99
99
|
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
100
100
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
101
101
|
Code = Shapes::StringShape.new(name: 'Code')
|
102
|
+
Command = Shapes::StringShape.new(name: 'Command')
|
103
|
+
CommandList = Shapes::ListShape.new(name: 'CommandList')
|
102
104
|
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
103
105
|
ConcurrentPipelineExecutionsLimitExceededException = Shapes::StructureShape.new(name: 'ConcurrentPipelineExecutionsLimitExceededException')
|
104
106
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
@@ -145,6 +147,8 @@ module Aws::CodePipeline
|
|
145
147
|
FailureConditions = Shapes::StructureShape.new(name: 'FailureConditions')
|
146
148
|
FailureDetails = Shapes::StructureShape.new(name: 'FailureDetails')
|
147
149
|
FailureType = Shapes::StringShape.new(name: 'FailureType')
|
150
|
+
FilePath = Shapes::StringShape.new(name: 'FilePath')
|
151
|
+
FilePathList = Shapes::ListShape.new(name: 'FilePathList')
|
148
152
|
GetActionTypeInput = Shapes::StructureShape.new(name: 'GetActionTypeInput')
|
149
153
|
GetActionTypeOutput = Shapes::StructureShape.new(name: 'GetActionTypeOutput')
|
150
154
|
GetJobDetailsInput = Shapes::StructureShape.new(name: 'GetJobDetailsInput')
|
@@ -237,6 +241,8 @@ module Aws::CodePipeline
|
|
237
241
|
NotLatestPipelineExecutionException = Shapes::StructureShape.new(name: 'NotLatestPipelineExecutionException')
|
238
242
|
OutputArtifact = Shapes::StructureShape.new(name: 'OutputArtifact')
|
239
243
|
OutputArtifactList = Shapes::ListShape.new(name: 'OutputArtifactList')
|
244
|
+
OutputVariable = Shapes::StringShape.new(name: 'OutputVariable')
|
245
|
+
OutputVariableList = Shapes::ListShape.new(name: 'OutputVariableList')
|
240
246
|
OutputVariablesKey = Shapes::StringShape.new(name: 'OutputVariablesKey')
|
241
247
|
OutputVariablesMap = Shapes::MapShape.new(name: 'OutputVariablesMap')
|
242
248
|
OutputVariablesSizeExceededException = Shapes::StructureShape.new(name: 'OutputVariablesSizeExceededException')
|
@@ -473,8 +479,10 @@ module Aws::CodePipeline
|
|
473
479
|
ActionDeclaration.add_member(:action_type_id, Shapes::ShapeRef.new(shape: ActionTypeId, required: true, location_name: "actionTypeId"))
|
474
480
|
ActionDeclaration.add_member(:run_order, Shapes::ShapeRef.new(shape: ActionRunOrder, location_name: "runOrder"))
|
475
481
|
ActionDeclaration.add_member(:configuration, Shapes::ShapeRef.new(shape: ActionConfigurationMap, location_name: "configuration"))
|
482
|
+
ActionDeclaration.add_member(:commands, Shapes::ShapeRef.new(shape: CommandList, location_name: "commands"))
|
476
483
|
ActionDeclaration.add_member(:output_artifacts, Shapes::ShapeRef.new(shape: OutputArtifactList, location_name: "outputArtifacts"))
|
477
484
|
ActionDeclaration.add_member(:input_artifacts, Shapes::ShapeRef.new(shape: InputArtifactList, location_name: "inputArtifacts"))
|
485
|
+
ActionDeclaration.add_member(:output_variables, Shapes::ShapeRef.new(shape: OutputVariableList, location_name: "outputVariables"))
|
478
486
|
ActionDeclaration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
479
487
|
ActionDeclaration.add_member(:region, Shapes::ShapeRef.new(shape: AWSRegionName, location_name: "region"))
|
480
488
|
ActionDeclaration.add_member(:namespace, Shapes::ShapeRef.new(shape: ActionNamespace, location_name: "namespace"))
|
@@ -672,6 +680,8 @@ module Aws::CodePipeline
|
|
672
680
|
BlockerDeclaration.add_member(:type, Shapes::ShapeRef.new(shape: BlockerType, required: true, location_name: "type"))
|
673
681
|
BlockerDeclaration.struct_class = Types::BlockerDeclaration
|
674
682
|
|
683
|
+
CommandList.member = Shapes::ShapeRef.new(shape: Command)
|
684
|
+
|
675
685
|
ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
676
686
|
ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
|
677
687
|
|
@@ -791,6 +801,8 @@ module Aws::CodePipeline
|
|
791
801
|
FailureDetails.add_member(:external_execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "externalExecutionId"))
|
792
802
|
FailureDetails.struct_class = Types::FailureDetails
|
793
803
|
|
804
|
+
FilePathList.member = Shapes::ShapeRef.new(shape: FilePath)
|
805
|
+
|
794
806
|
GetActionTypeInput.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, required: true, location_name: "category"))
|
795
807
|
GetActionTypeInput.add_member(:owner, Shapes::ShapeRef.new(shape: ActionTypeOwner, required: true, location_name: "owner"))
|
796
808
|
GetActionTypeInput.add_member(:provider, Shapes::ShapeRef.new(shape: ActionProvider, required: true, location_name: "provider"))
|
@@ -1033,10 +1045,13 @@ module Aws::CodePipeline
|
|
1033
1045
|
NotLatestPipelineExecutionException.struct_class = Types::NotLatestPipelineExecutionException
|
1034
1046
|
|
1035
1047
|
OutputArtifact.add_member(:name, Shapes::ShapeRef.new(shape: ArtifactName, required: true, location_name: "name"))
|
1048
|
+
OutputArtifact.add_member(:files, Shapes::ShapeRef.new(shape: FilePathList, location_name: "files"))
|
1036
1049
|
OutputArtifact.struct_class = Types::OutputArtifact
|
1037
1050
|
|
1038
1051
|
OutputArtifactList.member = Shapes::ShapeRef.new(shape: OutputArtifact)
|
1039
1052
|
|
1053
|
+
OutputVariableList.member = Shapes::ShapeRef.new(shape: OutputVariable)
|
1054
|
+
|
1040
1055
|
OutputVariablesMap.key = Shapes::ShapeRef.new(shape: OutputVariablesKey)
|
1041
1056
|
OutputVariablesMap.value = Shapes::ShapeRef.new(shape: OutputVariablesValue)
|
1042
1057
|
|
@@ -251,6 +251,18 @@ module Aws::CodePipeline
|
|
251
251
|
# [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-parameter-override-functions.html
|
252
252
|
# @return [Hash<String,String>]
|
253
253
|
#
|
254
|
+
# @!attribute [rw] commands
|
255
|
+
# The shell commands to run with your compute action in CodePipeline.
|
256
|
+
# All commands are supported except multi-line formats. While
|
257
|
+
# CodeBuild logs and permissions are used, you do not need to create
|
258
|
+
# any resources in CodeBuild.
|
259
|
+
#
|
260
|
+
# <note markdown="1"> Using compute time for this action will incur separate charges in
|
261
|
+
# CodeBuild.
|
262
|
+
#
|
263
|
+
# </note>
|
264
|
+
# @return [Array<String>]
|
265
|
+
#
|
254
266
|
# @!attribute [rw] output_artifacts
|
255
267
|
# The name or ID of the result of the action declaration, such as a
|
256
268
|
# test or build artifact.
|
@@ -261,6 +273,12 @@ module Aws::CodePipeline
|
|
261
273
|
# test or build artifact.
|
262
274
|
# @return [Array<Types::InputArtifact>]
|
263
275
|
#
|
276
|
+
# @!attribute [rw] output_variables
|
277
|
+
# The list of variables that are to be exported from the compute
|
278
|
+
# action. This is specifically CodeBuild environment variables as used
|
279
|
+
# for that action.
|
280
|
+
# @return [Array<String>]
|
281
|
+
#
|
264
282
|
# @!attribute [rw] role_arn
|
265
283
|
# The ARN of the IAM service role that performs the declared action.
|
266
284
|
# This is assumed through the roleArn for the pipeline.
|
@@ -294,8 +312,10 @@ module Aws::CodePipeline
|
|
294
312
|
:action_type_id,
|
295
313
|
:run_order,
|
296
314
|
:configuration,
|
315
|
+
:commands,
|
297
316
|
:output_artifacts,
|
298
317
|
:input_artifacts,
|
318
|
+
:output_variables,
|
299
319
|
:role_arn,
|
300
320
|
:region,
|
301
321
|
:namespace,
|
@@ -3079,10 +3099,16 @@ module Aws::CodePipeline
|
|
3079
3099
|
# Output artifact names must be unique within a pipeline.
|
3080
3100
|
# @return [String]
|
3081
3101
|
#
|
3102
|
+
# @!attribute [rw] files
|
3103
|
+
# The files that you want to associate with the output artifact that
|
3104
|
+
# will be exported from the compute action.
|
3105
|
+
# @return [Array<String>]
|
3106
|
+
#
|
3082
3107
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OutputArtifact AWS API Documentation
|
3083
3108
|
#
|
3084
3109
|
class OutputArtifact < Struct.new(
|
3085
|
-
:name
|
3110
|
+
:name,
|
3111
|
+
:files)
|
3086
3112
|
SENSITIVE = []
|
3087
3113
|
include Aws::Structure
|
3088
3114
|
end
|
data/lib/aws-sdk-codepipeline.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -189,9 +189,11 @@ module Aws
|
|
189
189
|
},
|
190
190
|
run_order: ::Integer?,
|
191
191
|
configuration: Hash[::String, ::String]?,
|
192
|
+
commands: Array[::String]?,
|
192
193
|
output_artifacts: Array[
|
193
194
|
{
|
194
|
-
name: ::String
|
195
|
+
name: ::String,
|
196
|
+
files: Array[::String]?
|
195
197
|
},
|
196
198
|
]?,
|
197
199
|
input_artifacts: Array[
|
@@ -199,6 +201,7 @@ module Aws
|
|
199
201
|
name: ::String
|
200
202
|
},
|
201
203
|
]?,
|
204
|
+
output_variables: Array[::String]?,
|
202
205
|
role_arn: ::String?,
|
203
206
|
region: ::String?,
|
204
207
|
namespace: ::String?,
|
@@ -950,9 +953,11 @@ module Aws
|
|
950
953
|
},
|
951
954
|
run_order: ::Integer?,
|
952
955
|
configuration: Hash[::String, ::String]?,
|
956
|
+
commands: Array[::String]?,
|
953
957
|
output_artifacts: Array[
|
954
958
|
{
|
955
|
-
name: ::String
|
959
|
+
name: ::String,
|
960
|
+
files: Array[::String]?
|
956
961
|
},
|
957
962
|
]?,
|
958
963
|
input_artifacts: Array[
|
@@ -960,6 +965,7 @@ module Aws
|
|
960
965
|
name: ::String
|
961
966
|
},
|
962
967
|
]?,
|
968
|
+
output_variables: Array[::String]?,
|
963
969
|
role_arn: ::String?,
|
964
970
|
region: ::String?,
|
965
971
|
namespace: ::String?,
|
data/sig/types.rbs
CHANGED
@@ -65,8 +65,10 @@ module Aws::CodePipeline
|
|
65
65
|
attr_accessor action_type_id: Types::ActionTypeId
|
66
66
|
attr_accessor run_order: ::Integer
|
67
67
|
attr_accessor configuration: ::Hash[::String, ::String]
|
68
|
+
attr_accessor commands: ::Array[::String]
|
68
69
|
attr_accessor output_artifacts: ::Array[Types::OutputArtifact]
|
69
70
|
attr_accessor input_artifacts: ::Array[Types::InputArtifact]
|
71
|
+
attr_accessor output_variables: ::Array[::String]
|
70
72
|
attr_accessor role_arn: ::String
|
71
73
|
attr_accessor region: ::String
|
72
74
|
attr_accessor namespace: ::String
|
@@ -803,6 +805,7 @@ module Aws::CodePipeline
|
|
803
805
|
|
804
806
|
class OutputArtifact
|
805
807
|
attr_accessor name: ::String
|
808
|
+
attr_accessor files: ::Array[::String]
|
806
809
|
SENSITIVE: []
|
807
810
|
end
|
808
811
|
|
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.86.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: 2024-
|
11
|
+
date: 2024-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|