Skip to content

Commit

Permalink
feat(client-codepipeline): AWS CodePipeline V2 type pipelines now sup…
Browse files Browse the repository at this point in the history
…port ECRBuildAndPublish and InspectorScan actions.
  • Loading branch information
awstools committed Nov 22, 2024
1 parent 4092279 commit cce4188
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export interface GetPipelineStateCommandOutput extends GetPipelineStateOutput, _
* // code: "STRING_VALUE",
* // message: "STRING_VALUE",
* // },
* // logStreamARN: "STRING_VALUE",
* // },
* // entityUrl: "STRING_VALUE",
* // revisionUrl: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export interface ListActionExecutionsCommandOutput extends ListActionExecutionsO
* // code: "STRING_VALUE",
* // message: "STRING_VALUE",
* // },
* // logStreamARN: "STRING_VALUE",
* // },
* // outputVariables: { // OutputVariablesMap
* // "<keys>": "STRING_VALUE",
Expand Down
18 changes: 18 additions & 0 deletions clients/client-codepipeline/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,12 @@ export interface ActionExecution {
* @public
*/
errorDetails?: ErrorDetails | undefined;

/**
* <p>The Amazon Resource Name (ARN) of the log stream for the action compute.</p>
* @public
*/
logStreamARN?: string | undefined;
}

/**
Expand Down Expand Up @@ -748,6 +754,12 @@ export interface ActionExecutionResult {
* @public
*/
errorDetails?: ErrorDetails | undefined;

/**
* <p>The Amazon Resource Name (ARN) of the log stream for the action compute.</p>
* @public
*/
logStreamARN?: string | undefined;
}

/**
Expand Down Expand Up @@ -5771,6 +5783,12 @@ export interface PutApprovalResultInput {
* <p>The system-generated token used to identify a unique approval request. The token
* for each open approval request can be obtained using the <a>GetPipelineState</a> action. It is used to validate that the approval
* request corresponding to this token is still valid.</p>
* <important>
* <p>For a pipeline where the execution mode is set to PARALLEL, the token required to
* approve/reject approval request as detailed above is not available. Instead, use the
* <code>externalExecutionId</code> from the <code>GetPipelineState</code> action
* as the token in the approval request.</p>
* </important>
* @public
*/
token: string | undefined;
Expand Down
1 change: 1 addition & 0 deletions clients/client-codepipeline/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2820,6 +2820,7 @@ const de_ActionExecution = (output: any, context: __SerdeContext): ActionExecuti
externalExecutionUrl: __expectString,
lastStatusChange: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
lastUpdatedBy: __expectString,
logStreamARN: __expectString,
percentComplete: __expectInt32,
status: __expectString,
summary: __expectString,
Expand Down
23 changes: 22 additions & 1 deletion codegen/sdk-codegen/aws-models/codepipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,12 @@
"traits": {
"smithy.api#documentation": "<p>The details of an error returned by a URL external to Amazon Web Services.</p>"
}
},
"logStreamARN": {
"target": "com.amazonaws.codepipeline#LogStreamARN",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the log stream for the action compute.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -772,6 +778,12 @@
},
"errorDetails": {
"target": "com.amazonaws.codepipeline#ErrorDetails"
},
"logStreamARN": {
"target": "com.amazonaws.codepipeline#LogStreamARN",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the log stream for the action compute.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -5834,6 +5846,15 @@
"smithy.api#output": {}
}
},
"com.amazonaws.codepipeline#LogStreamARN": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 250
}
}
},
"com.amazonaws.codepipeline#MatchEquals": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -7130,7 +7151,7 @@
"token": {
"target": "com.amazonaws.codepipeline#ApprovalToken",
"traits": {
"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>",
"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>",
"smithy.api#required": {}
}
}
Expand Down

0 comments on commit cce4188

Please sign in to comment.