diff --git a/clients/client-codepipeline/src/commands/GetPipelineStateCommand.ts b/clients/client-codepipeline/src/commands/GetPipelineStateCommand.ts index f238ce8e93374..578a3f43437c1 100644 --- a/clients/client-codepipeline/src/commands/GetPipelineStateCommand.ts +++ b/clients/client-codepipeline/src/commands/GetPipelineStateCommand.ts @@ -92,6 +92,7 @@ export interface GetPipelineStateCommandOutput extends GetPipelineStateOutput, _ * // code: "STRING_VALUE", * // message: "STRING_VALUE", * // }, + * // logStreamARN: "STRING_VALUE", * // }, * // entityUrl: "STRING_VALUE", * // revisionUrl: "STRING_VALUE", diff --git a/clients/client-codepipeline/src/commands/ListActionExecutionsCommand.ts b/clients/client-codepipeline/src/commands/ListActionExecutionsCommand.ts index 1c2c615f5e34b..7589bb8d0ebab 100644 --- a/clients/client-codepipeline/src/commands/ListActionExecutionsCommand.ts +++ b/clients/client-codepipeline/src/commands/ListActionExecutionsCommand.ts @@ -105,6 +105,7 @@ export interface ListActionExecutionsCommandOutput extends ListActionExecutionsO * // code: "STRING_VALUE", * // message: "STRING_VALUE", * // }, + * // logStreamARN: "STRING_VALUE", * // }, * // outputVariables: { // OutputVariablesMap * // "": "STRING_VALUE", diff --git a/clients/client-codepipeline/src/models/models_0.ts b/clients/client-codepipeline/src/models/models_0.ts index 48ee81adca745..2057935f3cba3 100644 --- a/clients/client-codepipeline/src/models/models_0.ts +++ b/clients/client-codepipeline/src/models/models_0.ts @@ -629,6 +629,12 @@ export interface ActionExecution { * @public */ errorDetails?: ErrorDetails | undefined; + + /** + *

The Amazon Resource Name (ARN) of the log stream for the action compute.

+ * @public + */ + logStreamARN?: string | undefined; } /** @@ -748,6 +754,12 @@ export interface ActionExecutionResult { * @public */ errorDetails?: ErrorDetails | undefined; + + /** + *

The Amazon Resource Name (ARN) of the log stream for the action compute.

+ * @public + */ + logStreamARN?: string | undefined; } /** @@ -5771,6 +5783,12 @@ export interface PutApprovalResultInput { *

The system-generated token used to identify a unique approval request. The token * for each open approval request can be obtained using the GetPipelineState action. It is used to validate that the approval * request corresponding to this token is still valid.

+ * + *

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 + * externalExecutionId from the GetPipelineState action + * as the token in the approval request.

+ *
* @public */ token: string | undefined; diff --git a/clients/client-codepipeline/src/protocols/Aws_json1_1.ts b/clients/client-codepipeline/src/protocols/Aws_json1_1.ts index 6fff6ecb2d131..97bf64ab904b7 100644 --- a/clients/client-codepipeline/src/protocols/Aws_json1_1.ts +++ b/clients/client-codepipeline/src/protocols/Aws_json1_1.ts @@ -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, diff --git a/codegen/sdk-codegen/aws-models/codepipeline.json b/codegen/sdk-codegen/aws-models/codepipeline.json index 4619f1fbab849..485088bb11a7f 100644 --- a/codegen/sdk-codegen/aws-models/codepipeline.json +++ b/codegen/sdk-codegen/aws-models/codepipeline.json @@ -567,6 +567,12 @@ "traits": { "smithy.api#documentation": "

The details of an error returned by a URL external to Amazon Web Services.

" } + }, + "logStreamARN": { + "target": "com.amazonaws.codepipeline#LogStreamARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the log stream for the action compute.

" + } } }, "traits": { @@ -772,6 +778,12 @@ }, "errorDetails": { "target": "com.amazonaws.codepipeline#ErrorDetails" + }, + "logStreamARN": { + "target": "com.amazonaws.codepipeline#LogStreamARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the log stream for the action compute.

" + } } }, "traits": { @@ -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": { @@ -7130,7 +7151,7 @@ "token": { "target": "com.amazonaws.codepipeline#ApprovalToken", "traits": { - "smithy.api#documentation": "

The system-generated token used to identify a unique approval request. The token\n for each open approval request can be obtained using the GetPipelineState action. It is used to validate that the approval\n request corresponding to this token is still valid.

", + "smithy.api#documentation": "

The system-generated token used to identify a unique approval request. The token\n for each open approval request can be obtained using the GetPipelineState action. It is used to validate that the approval\n request corresponding to this token is still valid.

\n \n

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 externalExecutionId from the GetPipelineState action\n as the token in the approval request.

\n
", "smithy.api#required": {} } }