

# PutThirdPartyJobSuccessResult
<a name="API_PutThirdPartyJobSuccessResult"></a>

Represents the success of a third party job as returned to the pipeline by a job worker. Used for partner actions only.

## Request Syntax
<a name="API_PutThirdPartyJobSuccessResult_RequestSyntax"></a>

```
{
   "clientToken": "{{string}}",
   "continuationToken": "{{string}}",
   "currentRevision": { 
      "changeIdentifier": "{{string}}",
      "created": {{number}},
      "revision": "{{string}}",
      "revisionSummary": "{{string}}"
   },
   "executionDetails": { 
      "externalExecutionId": "{{string}}",
      "percentComplete": {{number}},
      "summary": "{{string}}"
   },
   "jobId": "{{string}}"
}
```

## Request Parameters
<a name="API_PutThirdPartyJobSuccessResult_RequestParameters"></a>

For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

The request accepts the following data in JSON format.

 ** [clientToken](#API_PutThirdPartyJobSuccessResult_RequestSyntax) **   <a name="CodePipeline-PutThirdPartyJobSuccessResult-request-clientToken"></a>
The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: Yes

 ** [continuationToken](#API_PutThirdPartyJobSuccessResult_RequestSyntax) **   <a name="CodePipeline-PutThirdPartyJobSuccessResult-request-continuationToken"></a>
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a partner action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the partner action. When the action is complete, no continuation token should be supplied.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: No

 ** [currentRevision](#API_PutThirdPartyJobSuccessResult_RequestSyntax) **   <a name="CodePipeline-PutThirdPartyJobSuccessResult-request-currentRevision"></a>
Represents information about a current revision.  
Type: [CurrentRevision](API_CurrentRevision.md) object  
Required: No

 ** [executionDetails](#API_PutThirdPartyJobSuccessResult_RequestSyntax) **   <a name="CodePipeline-PutThirdPartyJobSuccessResult-request-executionDetails"></a>
The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.   
Type: [ExecutionDetails](API_ExecutionDetails.md) object  
Required: No

 ** [jobId](#API_PutThirdPartyJobSuccessResult_RequestSyntax) **   <a name="CodePipeline-PutThirdPartyJobSuccessResult-request-jobId"></a>
The ID of the job that successfully completed. This is the same ID returned from `PollForThirdPartyJobs`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Required: Yes

## Response Elements
<a name="API_PutThirdPartyJobSuccessResult_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_PutThirdPartyJobSuccessResult_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidClientTokenException **   
The client token was specified in an invalid format  
HTTP Status Code: 400

 ** InvalidJobStateException **   
The job state was specified in an invalid format.  
HTTP Status Code: 400

 ** JobNotFoundException **   
The job was specified in an invalid format or cannot be found.  
HTTP Status Code: 400

 ** ValidationException **   
The validation was specified in an invalid format.  
HTTP Status Code: 400

## See Also
<a name="API_PutThirdPartyJobSuccessResult_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult) 
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult) 
+  [Amazon SDK for Python](https://docs.amazonaws.cn/goto/boto3/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult) 