Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Represents the success of a job as returned to the pipeline by a job worker. Only used for custom actions.
- putJobSuccessResult :: Text -> PutJobSuccessResult
- data PutJobSuccessResult
- pjsrContinuationToken :: Lens' PutJobSuccessResult (Maybe Text)
- pjsrExecutionDetails :: Lens' PutJobSuccessResult (Maybe ExecutionDetails)
- pjsrCurrentRevision :: Lens' PutJobSuccessResult (Maybe CurrentRevision)
- pjsrJobId :: Lens' PutJobSuccessResult Text
- putJobSuccessResultResponse :: PutJobSuccessResultResponse
- data PutJobSuccessResultResponse
Creating a Request
Creates a value of PutJobSuccessResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pjsrContinuationToken
- A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.pjsrExecutionDetails
- The execution details of the successful job, such as the actions taken by the job worker.pjsrCurrentRevision
- The ID of the current revision of the artifact successfully worked upon by the job.pjsrJobId
- The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
data PutJobSuccessResult Source #
Represents the input of a PutJobSuccessResult action.
See: putJobSuccessResult
smart constructor.
Request Lenses
pjsrContinuationToken :: Lens' PutJobSuccessResult (Maybe Text) Source #
A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
pjsrExecutionDetails :: Lens' PutJobSuccessResult (Maybe ExecutionDetails) Source #
The execution details of the successful job, such as the actions taken by the job worker.
pjsrCurrentRevision :: Lens' PutJobSuccessResult (Maybe CurrentRevision) Source #
The ID of the current revision of the artifact successfully worked upon by the job.
pjsrJobId :: Lens' PutJobSuccessResult Text Source #
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
Destructuring the Response
putJobSuccessResultResponse :: PutJobSuccessResultResponse Source #
Creates a value of PutJobSuccessResultResponse
with the minimum fields required to make a request.
data PutJobSuccessResultResponse Source #
See: putJobSuccessResultResponse
smart constructor.