Skip to content

Commit 8449096

Browse files
author
AWS
committed
AWS CodePipeline Update: AWS CodePipeline now supports the use of variables in action configuration.
1 parent 845a84d commit 8449096

File tree

2 files changed

+57
-1
lines changed

2 files changed

+57
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS CodePipeline",
4+
"description": "AWS CodePipeline now supports the use of variables in action configuration."
5+
}

services/codepipeline/src/main/resources/codegen-resources/service-2.json

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,8 @@
414414
"errors":[
415415
{"shape":"ValidationException"},
416416
{"shape":"JobNotFoundException"},
417-
{"shape":"InvalidJobStateException"}
417+
{"shape":"InvalidJobStateException"},
418+
{"shape":"OutputVariablesSizeExceededException"}
418419
],
419420
"documentation":"<p>Represents the success of a job as returned to the pipeline by a job worker. Used for custom actions only.</p>"
420421
},
@@ -810,6 +811,10 @@
810811
"region":{
811812
"shape":"AWSRegionName",
812813
"documentation":"<p>The action declaration's AWS Region, such as us-east-1.</p>"
814+
},
815+
"namespace":{
816+
"shape":"ActionNamespace",
817+
"documentation":"<p>The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.</p>"
813818
}
814819
},
815820
"documentation":"<p>Represents information about an action declaration.</p>"
@@ -925,6 +930,10 @@
925930
"shape":"ActionConfigurationMap",
926931
"documentation":"<p>Configuration data for an action execution.</p>"
927932
},
933+
"resolvedConfiguration":{
934+
"shape":"ResolvedActionConfigurationMap",
935+
"documentation":"<p>Configuration data for an action execution with all variable references replaced with their real values for the execution.</p>"
936+
},
928937
"roleArn":{
929938
"shape":"RoleArn",
930939
"documentation":"<p>The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline. </p>"
@@ -936,6 +945,10 @@
936945
"inputArtifacts":{
937946
"shape":"ArtifactDetailList",
938947
"documentation":"<p>Details of input artifacts of the action that correspond to the action execution.</p>"
948+
},
949+
"namespace":{
950+
"shape":"ActionNamespace",
951+
"documentation":"<p>The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.</p>"
939952
}
940953
},
941954
"documentation":"<p>Input information used for an action execution.</p>"
@@ -950,6 +963,10 @@
950963
"executionResult":{
951964
"shape":"ActionExecutionResult",
952965
"documentation":"<p>Execution result information listed in the output details for an action execution.</p>"
966+
},
967+
"outputVariables":{
968+
"shape":"OutputVariablesMap",
969+
"documentation":"<p>The outputVariables field shows the key-value pairs that were output as part of that execution.</p>"
953970
}
954971
},
955972
"documentation":"<p>Output details listed for an action execution, such as the action execution result.</p>"
@@ -987,6 +1004,12 @@
9871004
"min":1,
9881005
"pattern":"[A-Za-z0-9.@\\-_]+"
9891006
},
1007+
"ActionNamespace":{
1008+
"type":"string",
1009+
"max":100,
1010+
"min":1,
1011+
"pattern":"[A-Za-z0-9@\\-_]+"
1012+
},
9901013
"ActionNotFoundException":{
9911014
"type":"structure",
9921015
"members":{
@@ -2423,6 +2446,24 @@
24232446
"type":"list",
24242447
"member":{"shape":"OutputArtifact"}
24252448
},
2449+
"OutputVariablesKey":{
2450+
"type":"string",
2451+
"pattern":"[A-Za-z0-9@\\-_]+"
2452+
},
2453+
"OutputVariablesMap":{
2454+
"type":"map",
2455+
"key":{"shape":"OutputVariablesKey"},
2456+
"value":{"shape":"OutputVariablesValue"}
2457+
},
2458+
"OutputVariablesSizeExceededException":{
2459+
"type":"structure",
2460+
"members":{
2461+
"message":{"shape":"Message"}
2462+
},
2463+
"documentation":"<p>Exceeded the total size limit for all variables in the pipeline.</p>",
2464+
"exception":true
2465+
},
2466+
"OutputVariablesValue":{"type":"string"},
24262467
"Percentage":{
24272468
"type":"integer",
24282469
"max":100,
@@ -2828,6 +2869,10 @@
28282869
"executionDetails":{
28292870
"shape":"ExecutionDetails",
28302871
"documentation":"<p>The execution details of the successful job, such as the actions taken by the job worker.</p>"
2872+
},
2873+
"outputVariables":{
2874+
"shape":"OutputVariablesMap",
2875+
"documentation":"<p>Key-value pairs produced as output by a job worker that can be made available to a downstream action configuration. <code>outputVariables</code> can be included only when there is no continuation token on the request.</p>"
28312876
}
28322877
},
28332878
"documentation":"<p>Represents the input of a <code>PutJobSuccessResult</code> action.</p>"
@@ -2929,6 +2974,11 @@
29292974
"members":{
29302975
}
29312976
},
2977+
"ResolvedActionConfigurationMap":{
2978+
"type":"map",
2979+
"key":{"shape":"String"},
2980+
"value":{"shape":"String"}
2981+
},
29322982
"ResourceArn":{
29332983
"type":"string",
29342984
"pattern":"arn:aws(-[\\w]+)*:codepipeline:.+:[0-9]{12}:.+"
@@ -3220,6 +3270,7 @@
32203270
},
32213271
"documentation":"<p>Represents the output of a <code>StartPipelineExecution</code> action.</p>"
32223272
},
3273+
"String":{"type":"string"},
32233274
"Tag":{
32243275
"type":"structure",
32253276
"required":[

0 commit comments

Comments
 (0)