put_third_party_job_failure_result

put_third_party_job_failure_result(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.put_third_party_job_failure_result(
    jobId='string',
    clientToken='string',
    failureDetails={
        'type': 'JobFailed'|'ConfigurationError'|'PermissionError'|'RevisionOutOfSync'|'RevisionUnavailable'|'SystemUnavailable',
        'message': 'string',
        'externalExecutionId': 'string'
    }
)
Parameters
  • jobId (string) --

    [REQUIRED]

    The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs .

  • clientToken (string) --

    [REQUIRED]

    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.

  • failureDetails (dict) --

    [REQUIRED]

    Represents information about failure details.

    • type (string) -- [REQUIRED]

      The type of the failure.

    • message (string) -- [REQUIRED]

      The message about the failure.

    • externalExecutionId (string) --

      The external ID of the run of the action that failed.

Returns

None

Exceptions

  • CodePipeline.Client.exceptions.ValidationException
  • CodePipeline.Client.exceptions.JobNotFoundException
  • CodePipeline.Client.exceptions.InvalidJobStateException
  • CodePipeline.Client.exceptions.InvalidClientTokenException