Skip to content

Commit cce4188

Browse files
author
awstools
committed
feat(client-codepipeline): AWS CodePipeline V2 type pipelines now support ECRBuildAndPublish and InspectorScan actions.
1 parent 4092279 commit cce4188

File tree

5 files changed

+43
-1
lines changed

5 files changed

+43
-1
lines changed

clients/client-codepipeline/src/commands/GetPipelineStateCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export interface GetPipelineStateCommandOutput extends GetPipelineStateOutput, _
9292
* // code: "STRING_VALUE",
9393
* // message: "STRING_VALUE",
9494
* // },
95+
* // logStreamARN: "STRING_VALUE",
9596
* // },
9697
* // entityUrl: "STRING_VALUE",
9798
* // revisionUrl: "STRING_VALUE",

clients/client-codepipeline/src/commands/ListActionExecutionsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export interface ListActionExecutionsCommandOutput extends ListActionExecutionsO
105105
* // code: "STRING_VALUE",
106106
* // message: "STRING_VALUE",
107107
* // },
108+
* // logStreamARN: "STRING_VALUE",
108109
* // },
109110
* // outputVariables: { // OutputVariablesMap
110111
* // "<keys>": "STRING_VALUE",

clients/client-codepipeline/src/models/models_0.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,12 @@ export interface ActionExecution {
629629
* @public
630630
*/
631631
errorDetails?: ErrorDetails | undefined;
632+
633+
/**
634+
* <p>The Amazon Resource Name (ARN) of the log stream for the action compute.</p>
635+
* @public
636+
*/
637+
logStreamARN?: string | undefined;
632638
}
633639

634640
/**
@@ -748,6 +754,12 @@ export interface ActionExecutionResult {
748754
* @public
749755
*/
750756
errorDetails?: ErrorDetails | undefined;
757+
758+
/**
759+
* <p>The Amazon Resource Name (ARN) of the log stream for the action compute.</p>
760+
* @public
761+
*/
762+
logStreamARN?: string | undefined;
751763
}
752764

753765
/**
@@ -5771,6 +5783,12 @@ export interface PutApprovalResultInput {
57715783
* <p>The system-generated token used to identify a unique approval request. The token
57725784
* for each open approval request can be obtained using the <a>GetPipelineState</a> action. It is used to validate that the approval
57735785
* request corresponding to this token is still valid.</p>
5786+
* <important>
5787+
* <p>For a pipeline where the execution mode is set to PARALLEL, the token required to
5788+
* approve/reject approval request as detailed above is not available. Instead, use the
5789+
* <code>externalExecutionId</code> from the <code>GetPipelineState</code> action
5790+
* as the token in the approval request.</p>
5791+
* </important>
57745792
* @public
57755793
*/
57765794
token: string | undefined;

clients/client-codepipeline/src/protocols/Aws_json1_1.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2820,6 +2820,7 @@ const de_ActionExecution = (output: any, context: __SerdeContext): ActionExecuti
28202820
externalExecutionUrl: __expectString,
28212821
lastStatusChange: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
28222822
lastUpdatedBy: __expectString,
2823+
logStreamARN: __expectString,
28232824
percentComplete: __expectInt32,
28242825
status: __expectString,
28252826
summary: __expectString,

codegen/sdk-codegen/aws-models/codepipeline.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,12 @@
567567
"traits": {
568568
"smithy.api#documentation": "<p>The details of an error returned by a URL external to Amazon Web Services.</p>"
569569
}
570+
},
571+
"logStreamARN": {
572+
"target": "com.amazonaws.codepipeline#LogStreamARN",
573+
"traits": {
574+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the log stream for the action compute.</p>"
575+
}
570576
}
571577
},
572578
"traits": {
@@ -772,6 +778,12 @@
772778
},
773779
"errorDetails": {
774780
"target": "com.amazonaws.codepipeline#ErrorDetails"
781+
},
782+
"logStreamARN": {
783+
"target": "com.amazonaws.codepipeline#LogStreamARN",
784+
"traits": {
785+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the log stream for the action compute.</p>"
786+
}
775787
}
776788
},
777789
"traits": {
@@ -5834,6 +5846,15 @@
58345846
"smithy.api#output": {}
58355847
}
58365848
},
5849+
"com.amazonaws.codepipeline#LogStreamARN": {
5850+
"type": "string",
5851+
"traits": {
5852+
"smithy.api#length": {
5853+
"min": 1,
5854+
"max": 250
5855+
}
5856+
}
5857+
},
58375858
"com.amazonaws.codepipeline#MatchEquals": {
58385859
"type": "string",
58395860
"traits": {
@@ -7130,7 +7151,7 @@
71307151
"token": {
71317152
"target": "com.amazonaws.codepipeline#ApprovalToken",
71327153
"traits": {
7133-
"smithy.api#documentation": "<p>The system-generated token used to identify a unique approval request. The token\n for each open approval request can be obtained using the <a>GetPipelineState</a> action. It is used to validate that the approval\n request corresponding to this token is still valid.</p>",
7154+
"smithy.api#documentation": "<p>The system-generated token used to identify a unique approval request. The token\n for each open approval request can be obtained using the <a>GetPipelineState</a> action. It is used to validate that the approval\n request corresponding to this token is still valid.</p>\n <important>\n <p>For a pipeline where the execution mode is set to PARALLEL, the token required to\n approve/reject approval request as detailed above is not available. Instead, use the\n <code>externalExecutionId</code> from the <code>GetPipelineState</code> action\n as the token in the approval request.</p>\n </important>",
71347155
"smithy.api#required": {}
71357156
}
71367157
}

0 commit comments

Comments
 (0)