Skip to content

Commit cf6d8d7

Browse files
author
AWS
committed
AWS CodePipeline Update: Add support for Secrets Manager and Plaintext environment variable types in Commands action
1 parent f3d8e3f commit cf6d8d7

File tree

2 files changed

+51
-67
lines changed

2 files changed

+51
-67
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS CodePipeline",
4+
"contributor": "",
5+
"description": "Add support for Secrets Manager and Plaintext environment variable types in Commands action"
6+
}

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

Lines changed: 45 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,8 +1173,7 @@
11731173
},
11741174
"ActionNotFoundException":{
11751175
"type":"structure",
1176-
"members":{
1177-
},
1176+
"members":{},
11781177
"documentation":"<p>The specified action cannot be found.</p>",
11791178
"exception":true
11801179
},
@@ -1289,8 +1288,7 @@
12891288
},
12901289
"ActionTypeAlreadyExistsException":{
12911290
"type":"structure",
1292-
"members":{
1293-
},
1291+
"members":{},
12941292
"documentation":"<p>The specified action type already exists with a different definition.</p>",
12951293
"exception":true
12961294
},
@@ -1449,8 +1447,7 @@
14491447
},
14501448
"ActionTypeNotFoundException":{
14511449
"type":"structure",
1452-
"members":{
1453-
},
1450+
"members":{},
14541451
"documentation":"<p>The specified action type cannot be found.</p>",
14551452
"exception":true
14561453
},
@@ -1566,8 +1563,7 @@
15661563
},
15671564
"ApprovalAlreadyCompletedException":{
15681565
"type":"structure",
1569-
"members":{
1570-
},
1566+
"members":{},
15711567
"documentation":"<p>The approval action has already been approved or rejected.</p>",
15721568
"exception":true
15731569
},
@@ -2097,8 +2093,7 @@
20972093
},
20982094
"DeleteWebhookOutput":{
20992095
"type":"structure",
2100-
"members":{
2101-
}
2096+
"members":{}
21022097
},
21032098
"DeregisterWebhookWithThirdPartyInput":{
21042099
"type":"structure",
@@ -2111,8 +2106,7 @@
21112106
},
21122107
"DeregisterWebhookWithThirdPartyOutput":{
21132108
"type":"structure",
2114-
"members":{
2115-
}
2109+
"members":{}
21162110
},
21172111
"Description":{
21182112
"type":"string",
@@ -2226,6 +2220,10 @@
22262220
"value":{
22272221
"shape":"EnvironmentVariableValue",
22282222
"documentation":"<p>The environment variable value in the key-value pair.</p>"
2223+
},
2224+
"type":{
2225+
"shape":"EnvironmentVariableType",
2226+
"documentation":"<p>Specifies the type of use for the environment variable value. The value can be either <code>PLAINTEXT</code> or <code>SECRETS_MANAGER</code>. If the value is <code>SECRETS_MANAGER</code>, provide the Secrets reference in the EnvironmentVariable value.</p>"
22292227
}
22302228
},
22312229
"documentation":"<p>The environment variables for the action.</p>"
@@ -2242,6 +2240,13 @@
22422240
"min":1,
22432241
"pattern":"[A-Za-z0-9_]+"
22442242
},
2243+
"EnvironmentVariableType":{
2244+
"type":"string",
2245+
"enum":[
2246+
"PLAINTEXT",
2247+
"SECRETS_MANAGER"
2248+
]
2249+
},
22452250
"EnvironmentVariableValue":{
22462251
"type":"string",
22472252
"max":2000,
@@ -2758,15 +2763,13 @@
27582763
},
27592764
"InvalidActionDeclarationException":{
27602765
"type":"structure",
2761-
"members":{
2762-
},
2766+
"members":{},
27632767
"documentation":"<p>The action declaration was specified in an invalid format.</p>",
27642768
"exception":true
27652769
},
27662770
"InvalidApprovalTokenException":{
27672771
"type":"structure",
2768-
"members":{
2769-
},
2772+
"members":{},
27702773
"documentation":"<p>The approval request already received a response or has expired.</p>",
27712774
"exception":true
27722775
},
@@ -2780,57 +2783,49 @@
27802783
},
27812784
"InvalidBlockerDeclarationException":{
27822785
"type":"structure",
2783-
"members":{
2784-
},
2786+
"members":{},
27852787
"documentation":"<p>Reserved for future use.</p>",
27862788
"exception":true
27872789
},
27882790
"InvalidClientTokenException":{
27892791
"type":"structure",
2790-
"members":{
2791-
},
2792+
"members":{},
27922793
"documentation":"<p>The client token was specified in an invalid format</p>",
27932794
"exception":true
27942795
},
27952796
"InvalidJobException":{
27962797
"type":"structure",
2797-
"members":{
2798-
},
2798+
"members":{},
27992799
"documentation":"<p>The job was specified in an invalid format or cannot be found.</p>",
28002800
"exception":true
28012801
},
28022802
"InvalidJobStateException":{
28032803
"type":"structure",
2804-
"members":{
2805-
},
2804+
"members":{},
28062805
"documentation":"<p>The job state was specified in an invalid format.</p>",
28072806
"exception":true
28082807
},
28092808
"InvalidNextTokenException":{
28102809
"type":"structure",
2811-
"members":{
2812-
},
2810+
"members":{},
28132811
"documentation":"<p>The next token was specified in an invalid format. Make sure that the next token you provide is the token returned by a previous call.</p>",
28142812
"exception":true
28152813
},
28162814
"InvalidNonceException":{
28172815
"type":"structure",
2818-
"members":{
2819-
},
2816+
"members":{},
28202817
"documentation":"<p>The nonce was specified in an invalid format.</p>",
28212818
"exception":true
28222819
},
28232820
"InvalidStageDeclarationException":{
28242821
"type":"structure",
2825-
"members":{
2826-
},
2822+
"members":{},
28272823
"documentation":"<p>The stage declaration was specified in an invalid format.</p>",
28282824
"exception":true
28292825
},
28302826
"InvalidStructureException":{
28312827
"type":"structure",
2832-
"members":{
2833-
},
2828+
"members":{},
28342829
"documentation":"<p>The structure was specified in an invalid format.</p>",
28352830
"exception":true
28362831
},
@@ -2844,15 +2839,13 @@
28442839
},
28452840
"InvalidWebhookAuthenticationParametersException":{
28462841
"type":"structure",
2847-
"members":{
2848-
},
2842+
"members":{},
28492843
"documentation":"<p>The specified authentication type is in an invalid format.</p>",
28502844
"exception":true
28512845
},
28522846
"InvalidWebhookFilterPatternException":{
28532847
"type":"structure",
2854-
"members":{
2855-
},
2848+
"members":{},
28562849
"documentation":"<p>The specified event filter rule is in an invalid format.</p>",
28572850
"exception":true
28582851
},
@@ -2944,8 +2937,7 @@
29442937
},
29452938
"JobNotFoundException":{
29462939
"type":"structure",
2947-
"members":{
2948-
},
2940+
"members":{},
29492941
"documentation":"<p>The job was specified in an invalid format or cannot be found.</p>",
29502942
"exception":true
29512943
},
@@ -3025,8 +3017,7 @@
30253017
},
30263018
"LimitExceededException":{
30273019
"type":"structure",
3028-
"members":{
3029-
},
3020+
"members":{},
30303021
"documentation":"<p>The number of pipelines associated with the Amazon Web Services account has exceeded the limit allowed for the account.</p>",
30313022
"exception":true
30323023
},
@@ -3377,8 +3368,7 @@
33773368
},
33783369
"NotLatestPipelineExecutionException":{
33793370
"type":"structure",
3380-
"members":{
3381-
},
3371+
"members":{},
33823372
"documentation":"<p>The stage has failed in a later run of the pipeline and the <code>pipelineExecutionId</code> associated with the request is out of date.</p>",
33833373
"exception":true
33843374
},
@@ -3606,8 +3596,7 @@
36063596
},
36073597
"PipelineExecutionNotFoundException":{
36083598
"type":"structure",
3609-
"members":{
3610-
},
3599+
"members":{},
36113600
"documentation":"<p>The pipeline execution was specified in an invalid format or cannot be found, or an execution ID does not belong to the specified pipeline. </p>",
36123601
"exception":true
36133602
},
@@ -3715,7 +3704,7 @@
37153704
},
37163705
"pollingDisabledAt":{
37173706
"shape":"Timestamp",
3718-
"documentation":"<p>The date and time that polling for source changes (periodic checks) was stopped for the pipeline, in timestamp format. You can migrate (update) a polling pipeline to use event-based change detection. For example, for a pipeline with a CodeCommit source, we recommend you migrate (update) your pipeline to use CloudWatch Events. To learn more, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/update-change-detection.html\">Migrate polling pipelines to use event-based change detection</a> in the CodePipeline User Guide.</p>"
3707+
"documentation":"<p>The date and time that polling for source changes (periodic checks) was stopped for the pipeline, in timestamp format. </p> <important> <p>Pipelines that are inactive for longer than 30 days will have polling disabled for the pipeline. For more information, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#metadata.pollingDisabledAt\">pollingDisabledAt</a> in the pipeline structure reference. For the steps to migrate your pipeline from polling to event-based change detection, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/update-change-detection.html\">Migrate polling pipelines to use event-based change detection</a>.</p> </important> <p>You can migrate (update) a polling pipeline to use event-based change detection. For example, for a pipeline with a CodeCommit source, we recommend you migrate (update) your pipeline to use CloudWatch Events. To learn more, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/update-change-detection.html\">Migrate polling pipelines to use event-based change detection</a> in the <i>CodePipeline User Guide</i>.</p>"
37193708
}
37203709
},
37213710
"documentation":"<p>Information about a pipeline.</p>"
@@ -3728,15 +3717,13 @@
37283717
},
37293718
"PipelineNameInUseException":{
37303719
"type":"structure",
3731-
"members":{
3732-
},
3720+
"members":{},
37333721
"documentation":"<p>The specified pipeline name is already in use.</p>",
37343722
"exception":true
37353723
},
37363724
"PipelineNotFoundException":{
37373725
"type":"structure",
3738-
"members":{
3739-
},
3726+
"members":{},
37403727
"documentation":"<p>The pipeline was specified in an invalid format or cannot be found.</p>",
37413728
"exception":true
37423729
},
@@ -3890,8 +3877,7 @@
38903877
},
38913878
"PipelineVersionNotFoundException":{
38923879
"type":"structure",
3893-
"members":{
3894-
},
3880+
"members":{},
38953881
"documentation":"<p>The pipeline version was specified in an invalid format or cannot be found.</p>",
38963882
"exception":true
38973883
},
@@ -4195,8 +4181,7 @@
41954181
},
41964182
"RegisterWebhookWithThirdPartyOutput":{
41974183
"type":"structure",
4198-
"members":{
4199-
}
4184+
"members":{}
42004185
},
42014186
"RequestFailedException":{
42024187
"type":"structure",
@@ -4240,8 +4225,7 @@
42404225
},
42414226
"ResourceNotFoundException":{
42424227
"type":"structure",
4243-
"members":{
4244-
},
4228+
"members":{},
42454229
"documentation":"<p>The resource was specified in an invalid format.</p>",
42464230
"exception":true
42474231
},
@@ -5086,15 +5070,13 @@
50865070
},
50875071
"StageNotFoundException":{
50885072
"type":"structure",
5089-
"members":{
5090-
},
5073+
"members":{},
50915074
"documentation":"<p>The stage was specified in an invalid format or cannot be found.</p>",
50925075
"exception":true
50935076
},
50945077
"StageNotRetryableException":{
50955078
"type":"structure",
5096-
"members":{
5097-
},
5079+
"members":{},
50985080
"documentation":"<p>Unable to retry. The pipeline structure or stage state might have changed while actions awaited retry, or the stage contains no failed actions.</p>",
50995081
"exception":true
51005082
},
@@ -5320,8 +5302,7 @@
53205302
},
53215303
"TagResourceOutput":{
53225304
"type":"structure",
5323-
"members":{
5324-
}
5305+
"members":{}
53255306
},
53265307
"TagValue":{
53275308
"type":"string",
@@ -5485,8 +5466,7 @@
54855466
},
54865467
"UntagResourceOutput":{
54875468
"type":"structure",
5488-
"members":{
5489-
}
5469+
"members":{}
54905470
},
54915471
"UpdateActionTypeInput":{
54925472
"type":"structure",
@@ -5531,8 +5511,7 @@
55315511
},
55325512
"ValidationException":{
55335513
"type":"structure",
5534-
"members":{
5535-
},
5514+
"members":{},
55365515
"documentation":"<p>The validation was specified in an invalid format.</p>",
55375516
"exception":true
55385517
},
@@ -5648,8 +5627,7 @@
56485627
},
56495628
"WebhookNotFoundException":{
56505629
"type":"structure",
5651-
"members":{
5652-
},
5630+
"members":{},
56535631
"documentation":"<p>The specified webhook was entered in an invalid format or cannot be found.</p>",
56545632
"exception":true
56555633
},

0 commit comments

Comments
 (0)