Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Represents the failure of a third party job as returned to the pipeline by a job worker. Used for partner actions only.
Synopsis
- data PutThirdPartyJobFailureResult = PutThirdPartyJobFailureResult' {}
- newPutThirdPartyJobFailureResult :: Text -> Text -> FailureDetails -> PutThirdPartyJobFailureResult
- putThirdPartyJobFailureResult_jobId :: Lens' PutThirdPartyJobFailureResult Text
- putThirdPartyJobFailureResult_clientToken :: Lens' PutThirdPartyJobFailureResult Text
- putThirdPartyJobFailureResult_failureDetails :: Lens' PutThirdPartyJobFailureResult FailureDetails
- data PutThirdPartyJobFailureResultResponse = PutThirdPartyJobFailureResultResponse' {
- newPutThirdPartyJobFailureResultResponse :: PutThirdPartyJobFailureResultResponse
Creating a Request
data PutThirdPartyJobFailureResult Source #
Represents the input of a PutThirdPartyJobFailureResult
action.
See: newPutThirdPartyJobFailureResult
smart constructor.
PutThirdPartyJobFailureResult' | |
|
Instances
newPutThirdPartyJobFailureResult Source #
Create a value of PutThirdPartyJobFailureResult
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:jobId:PutThirdPartyJobFailureResult'
, putThirdPartyJobFailureResult_jobId
- The ID of the job that failed. This is the same ID returned from
PollForThirdPartyJobs
.
$sel:clientToken:PutThirdPartyJobFailureResult'
, putThirdPartyJobFailureResult_clientToken
- 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.
$sel:failureDetails:PutThirdPartyJobFailureResult'
, putThirdPartyJobFailureResult_failureDetails
- Represents information about failure details.
Request Lenses
putThirdPartyJobFailureResult_jobId :: Lens' PutThirdPartyJobFailureResult Text Source #
The ID of the job that failed. This is the same ID returned from
PollForThirdPartyJobs
.
putThirdPartyJobFailureResult_clientToken :: Lens' PutThirdPartyJobFailureResult Text Source #
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.
putThirdPartyJobFailureResult_failureDetails :: Lens' PutThirdPartyJobFailureResult FailureDetails Source #
Represents information about failure details.
Destructuring the Response
data PutThirdPartyJobFailureResultResponse Source #
See: newPutThirdPartyJobFailureResultResponse
smart constructor.
Instances
Eq PutThirdPartyJobFailureResultResponse Source # | |
Read PutThirdPartyJobFailureResultResponse Source # | |
Show PutThirdPartyJobFailureResultResponse Source # | |
Generic PutThirdPartyJobFailureResultResponse Source # | |
Defined in Amazonka.CodePipeline.PutThirdPartyJobFailureResult type Rep PutThirdPartyJobFailureResultResponse :: Type -> Type # | |
NFData PutThirdPartyJobFailureResultResponse Source # | |
Defined in Amazonka.CodePipeline.PutThirdPartyJobFailureResult rnf :: PutThirdPartyJobFailureResultResponse -> () # | |
type Rep PutThirdPartyJobFailureResultResponse Source # | |
Defined in Amazonka.CodePipeline.PutThirdPartyJobFailureResult type Rep PutThirdPartyJobFailureResultResponse = D1 ('MetaData "PutThirdPartyJobFailureResultResponse" "Amazonka.CodePipeline.PutThirdPartyJobFailureResult" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "PutThirdPartyJobFailureResultResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newPutThirdPartyJobFailureResultResponse :: PutThirdPartyJobFailureResultResponse Source #
Create a value of PutThirdPartyJobFailureResultResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.