CodePipelineClient Class
(QtAws::CodePipeline::CodePipelineClient)The CodePipelineClient class provides access to the AWS CodePipeline service. More...
| Header: | #include <CodePipelineClient> |
| Inherits: | QtAws::Core::AwsAbstractClient |
Public Functions
| CodePipelineClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0) | |
| CodePipelineClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0) |
- 12 public functions inherited from QtAws::Core::AwsAbstractClient
Public Slots
| AcknowledgeJobResponse * | acknowledgeJob(const AcknowledgeJobRequest &request) |
| AcknowledgeThirdPartyJobResponse * | acknowledgeThirdPartyJob(const AcknowledgeThirdPartyJobRequest &request) |
| CreateCustomActionTypeResponse * | createCustomActionType(const CreateCustomActionTypeRequest &request) |
| CreatePipelineResponse * | createPipeline(const CreatePipelineRequest &request) |
| DeleteCustomActionTypeResponse * | deleteCustomActionType(const DeleteCustomActionTypeRequest &request) |
| DeletePipelineResponse * | deletePipeline(const DeletePipelineRequest &request) |
| DeleteWebhookResponse * | deleteWebhook(const DeleteWebhookRequest &request) |
| DeregisterWebhookWithThirdPartyResponse * | deregisterWebhookWithThirdParty(const DeregisterWebhookWithThirdPartyRequest &request) |
| DisableStageTransitionResponse * | disableStageTransition(const DisableStageTransitionRequest &request) |
| EnableStageTransitionResponse * | enableStageTransition(const EnableStageTransitionRequest &request) |
| GetJobDetailsResponse * | getJobDetails(const GetJobDetailsRequest &request) |
| GetPipelineResponse * | getPipeline(const GetPipelineRequest &request) |
| GetPipelineExecutionResponse * | getPipelineExecution(const GetPipelineExecutionRequest &request) |
| GetPipelineStateResponse * | getPipelineState(const GetPipelineStateRequest &request) |
| GetThirdPartyJobDetailsResponse * | getThirdPartyJobDetails(const GetThirdPartyJobDetailsRequest &request) |
| ListActionTypesResponse * | listActionTypes(const ListActionTypesRequest &request) |
| ListPipelineExecutionsResponse * | listPipelineExecutions(const ListPipelineExecutionsRequest &request) |
| ListPipelinesResponse * | listPipelines(const ListPipelinesRequest &request) |
| ListWebhooksResponse * | listWebhooks(const ListWebhooksRequest &request) |
| PollForJobsResponse * | pollForJobs(const PollForJobsRequest &request) |
| PollForThirdPartyJobsResponse * | pollForThirdPartyJobs(const PollForThirdPartyJobsRequest &request) |
| PutActionRevisionResponse * | putActionRevision(const PutActionRevisionRequest &request) |
| PutApprovalResultResponse * | putApprovalResult(const PutApprovalResultRequest &request) |
| PutJobFailureResultResponse * | putJobFailureResult(const PutJobFailureResultRequest &request) |
| PutJobSuccessResultResponse * | putJobSuccessResult(const PutJobSuccessResultRequest &request) |
| PutThirdPartyJobFailureResultResponse * | putThirdPartyJobFailureResult(const PutThirdPartyJobFailureResultRequest &request) |
| PutThirdPartyJobSuccessResultResponse * | putThirdPartyJobSuccessResult(const PutThirdPartyJobSuccessResultRequest &request) |
| PutWebhookResponse * | putWebhook(const PutWebhookRequest &request) |
| RegisterWebhookWithThirdPartyResponse * | registerWebhookWithThirdParty(const RegisterWebhookWithThirdPartyRequest &request) |
| RetryStageExecutionResponse * | retryStageExecution(const RetryStageExecutionRequest &request) |
| StartPipelineExecutionResponse * | startPipelineExecution(const StartPipelineExecutionRequest &request) |
| UpdatePipelineResponse * | updatePipeline(const UpdatePipelineRequest &request) |
Additional Inherited Members
- 2 protected functions inherited from QtAws::Core::AwsAbstractClient
Detailed Description
The CodePipelineClient class provides access to the AWS CodePipeline service.
<fullname>AWS CodePipeline</fullname>
<b>Overview</b>
</p
This is the AWS CodePipeline API Reference. This guide provides descriptions of the actions and data types for AWS CodePipeline. Some functionality for your pipeline is only configurable through the API. For additional information, see the <a href="http://docs.aws.amazon.com/codepipeline/latest/userguide/welcome.html">AWS CodePipeline User
Guide</a>>
You can use the AWS CodePipeline API to work with pipelines, stages, actions, and transitions, as described
below>
<i>Pipelines</i> are models of automated release processes. Each pipeline is uniquely named, and consists of stages, actions, and transitions.
</p
You can work with pipelines by
calling> <ul> <li>
<a>CreatePipeline</a>, which creates a uniquely-named
pipeline> </li> <li>
<a>DeletePipeline</a>, which deletes the specified
pipeline> </li> <li>
<a>GetPipeline</a>, which returns information about the pipeline structure and pipeline metadata, including the pipeline Amazon Resource Name
(ARN)> </li> <li>
<a>GetPipelineExecution</a>, which returns information about a specific execution of a
pipeline> </li> <li>
<a>GetPipelineState</a>, which returns information about the current state of the stages and actions of a
pipeline> </li> <li>
<a>ListPipelines</a>, which gets a summary of all of the pipelines associated with your
account> </li> <li>
<a>ListPipelineExecutions</a>, which gets a summary of the most recent executions for a
pipeline> </li> <li>
<a>StartPipelineExecution</a>, which runs the the most recent revision of an artifact through the
pipeline> </li> <li>
<a>UpdatePipeline</a>, which updates a pipeline with edits or changes to the structure of the
pipeline> </li> </ul>
Pipelines include <i>stages</i>. Each stage contains one or more actions that must complete before the next stage begins. A stage will result in success or failure. If a stage fails, then the pipeline stops at that stage and will remain stopped until either a new version of an artifact appears in the source location, or a user takes action to re-run the most recent artifact through the pipeline. You can call <a>GetPipelineState</a>, which displays the status of a pipeline, including the status of stages in the pipeline, or <a>GetPipeline</a>, which returns the entire structure of the pipeline, including the stages of that pipeline. For more information about the structure of stages and actions, also refer to the <a href="http://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-structure.html">AWS CodePipeline Pipeline Structure
Reference</a>>
Pipeline stages include <i>actions</i>, which are categorized into categories such as source or build actions performed within a stage of a pipeline. For example, you can use a source action to import artifacts into a pipeline from a source such as Amazon S3. Like stages, you do not work with actions directly in most cases, but you do define and interact with actions when working with pipeline operations such as <a>CreatePipeline</a> and <a>GetPipelineState</a>. Valid action categories
are> <ul> <li>
Sourc> </li> <li>
Buil> </li> <li>
Tes> </li> <li>
Deplo> </li> <li>
Approva> </li> <li>
Invok> </li> </ul>
Pipelines also include <i>transitions</i>, which allow the transition of artifacts from one stage to the next in a pipeline after the actions in one stage
complete>
You can work with transitions by
calling> <ul> <li>
<a>DisableStageTransition</a>, which prevents artifacts from transitioning to the next stage in a
pipeline> </li> <li>
<a>EnableStageTransition</a>, which enables transition of artifacts between stages in a pipeline.
</p </li> </ul>
<b>Using the API to integrate with AWS CodePipeline</b>
</p
For third-party integrators or developers who want to create their own integrations with AWS CodePipeline, the expected sequence varies from the standard API user. In order to integrate with AWS CodePipeline, developers will need to work with the following
items>
<b>Jobs</b>, which are instances of an action. For example, a job for a source action might import a revision of an artifact from a source.
</p
You can work with jobs by
calling> <ul> <li>
<a>AcknowledgeJob</a>, which confirms whether a job worker has received the specified
job> </li> <li>
<a>GetJobDetails</a>, which returns the details of a
job> </li> <li>
<a>PollForJobs</a>, which determines whether there are any jobs to act upon,
</p </li> <li>
<a>PutJobFailureResult</a>, which provides details of a job failure,
an> </li> <li>
<a>PutJobSuccessResult</a>, which provides details of a job
success> </li> </ul>
<b>Third party jobs</b>, which are instances of an action created by a partner action and integrated into AWS CodePipeline. Partner actions are created by members of the AWS Partner
Network>
You can work with third party jobs by
calling> <ul> <li>
<a>AcknowledgeThirdPartyJob</a>, which confirms whether a job worker has received the specified
job> </li> <li>
<a>GetThirdPartyJobDetails</a>, which requests the details of a job for a partner
action> </li> <li>
<a>PollForThirdPartyJobs</a>, which determines whether there are any jobs to act upon,
</p </li> <li>
<a>PutThirdPartyJobFailureResult</a>, which provides details of a job failure,
an> </li> <li>
<a>PutThirdPartyJobSuccessResult</a>, which provides details of a job
Member Function Documentation
CodePipelineClient::CodePipelineClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)
Constructs a CodePipelineClient object.
The new client object will region, credentials, and manager for network operations.
The new object will be owned by parent, if set.
CodePipelineClient::CodePipelineClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)
This function overloads CodePipelineClient().
This overload allows the caller to specify the specific endpoint to send requests to. Typically, it is easier to use the alternative constructor, which allows the caller to specify an AWS region instead, in which case this client will determine the correct endpoint for the given region automatically (via AwsEndpoint::getEndpoint).
See also QtAws::Core::AwsEndpoint::getEndpoint.
[slot] AcknowledgeJobResponse *CodePipelineClient::acknowledgeJob(const AcknowledgeJobRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an AcknowledgeJobResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Returns information about a specified job and whether that job has been received by the job worker. Only used for custom
[slot] AcknowledgeThirdPartyJobResponse *CodePipelineClient::acknowledgeThirdPartyJob(const AcknowledgeThirdPartyJobRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an AcknowledgeThirdPartyJobResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Confirms a job worker has received the specified job. Only used for partner
[slot] CreateCustomActionTypeResponse *CodePipelineClient::createCustomActionType(const CreateCustomActionTypeRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an CreateCustomActionTypeResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Creates a new custom action that can be used in all pipelines associated with the AWS account. Only used for custom
[slot] CreatePipelineResponse *CodePipelineClient::createPipeline(const CreatePipelineRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an CreatePipelineResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Creates a
[slot] DeleteCustomActionTypeResponse *CodePipelineClient::deleteCustomActionType(const DeleteCustomActionTypeRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an DeleteCustomActionTypeResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Marks a custom action as deleted. PollForJobs for the custom action will fail after the action is marked for deletion. Only used for custom
actions> <b>
To re-create a custom action after it has been deleted you must use a string in the version field that has never been used before. This string can be an incremented version number, for example. To restore a deleted custom action, use a JSON file that is identical to the deleted action, including the original string in the version
[slot] DeletePipelineResponse *CodePipelineClient::deletePipeline(const DeletePipelineRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an DeletePipelineResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Deletes the specified
[slot] DeleteWebhookResponse *CodePipelineClient::deleteWebhook(const DeleteWebhookRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an DeleteWebhookResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Deletes a previously created webhook by name. Deleting the webhook stops AWS CodePipeline from starting a pipeline every time an external event occurs. The API will return successfully when trying to delete a webhook that is already deleted. If a deleted webhook is re-created by calling PutWebhook with the same name, it will have a different
[slot] DeregisterWebhookWithThirdPartyResponse *CodePipelineClient::deregisterWebhookWithThirdParty(const DeregisterWebhookWithThirdPartyRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an DeregisterWebhookWithThirdPartyResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Removes the connection between the webhook that was created by CodePipeline and the external tool with events to be detected. Currently only supported for webhooks that target an action type of
[slot] DisableStageTransitionResponse *CodePipelineClient::disableStageTransition(const DisableStageTransitionRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an DisableStageTransitionResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Prevents artifacts in a pipeline from transitioning to the next stage in the
[slot] EnableStageTransitionResponse *CodePipelineClient::enableStageTransition(const EnableStageTransitionRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an EnableStageTransitionResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Enables artifacts in a pipeline to transition to a stage in a
[slot] GetJobDetailsResponse *CodePipelineClient::getJobDetails(const GetJobDetailsRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an GetJobDetailsResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Returns information about a job. Only used for custom
actions> <b>
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the
[slot] GetPipelineResponse *CodePipelineClient::getPipeline(const GetPipelineRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an GetPipelineResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Returns the metadata, structure, stages, and actions of a pipeline. Can be used to return the entire structure of a pipeline in JSON format, which can then be modified and used to update the pipeline structure with
[slot] GetPipelineExecutionResponse *CodePipelineClient::getPipelineExecution(const GetPipelineExecutionRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an GetPipelineExecutionResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Returns information about an execution of a pipeline, including details about artifacts, the pipeline execution ID, and the name, version, and status of the
[slot] GetPipelineStateResponse *CodePipelineClient::getPipelineState(const GetPipelineStateRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an GetPipelineStateResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Returns information about the state of a pipeline, including the stages and
[slot] GetThirdPartyJobDetailsResponse *CodePipelineClient::getThirdPartyJobDetails(const GetThirdPartyJobDetailsRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an GetThirdPartyJobDetailsResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Requests the details of a job for a third party action. Only used for partner
actions> <b>
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the
[slot] ListActionTypesResponse *CodePipelineClient::listActionTypes(const ListActionTypesRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an ListActionTypesResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Gets a summary of all AWS CodePipeline action types associated with your
[slot] ListPipelineExecutionsResponse *CodePipelineClient::listPipelineExecutions(const ListPipelineExecutionsRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an ListPipelineExecutionsResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Gets a summary of the most recent executions for a
[slot] ListPipelinesResponse *CodePipelineClient::listPipelines(const ListPipelinesRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an ListPipelinesResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Gets a summary of all of the pipelines associated with your
[slot] ListWebhooksResponse *CodePipelineClient::listWebhooks(const ListWebhooksRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an ListWebhooksResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Gets a listing of all the webhooks in this region for this account. The output lists all webhooks and includes the webhook URL and ARN, as well the configuration for each
[slot] PollForJobsResponse *CodePipelineClient::pollForJobs(const PollForJobsRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an PollForJobsResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Returns information about any jobs for AWS CodePipeline to act upon. PollForJobs is only valid for action types with "Custom" in the owner field. If the action type contains "AWS" or "ThirdParty" in the owner field, the PollForJobs action returns an
error> <b>
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the
[slot] PollForThirdPartyJobsResponse *CodePipelineClient::pollForThirdPartyJobs(const PollForThirdPartyJobsRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an PollForThirdPartyJobsResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Determines whether there are any third party jobs for a job worker to act on. Only used for partner
actions> <b>
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output
[slot] PutActionRevisionResponse *CodePipelineClient::putActionRevision(const PutActionRevisionRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an PutActionRevisionResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Provides information to AWS CodePipeline about new revisions to a
[slot] PutApprovalResultResponse *CodePipelineClient::putApprovalResult(const PutApprovalResultRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an PutApprovalResultResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Provides the response to a manual approval request to AWS CodePipeline. Valid responses include Approved and
[slot] PutJobFailureResultResponse *CodePipelineClient::putJobFailureResult(const PutJobFailureResultRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an PutJobFailureResultResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Represents the failure of a job as returned to the pipeline by a job worker. Only used for custom
[slot] PutJobSuccessResultResponse *CodePipelineClient::putJobSuccessResult(const PutJobSuccessResultRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an PutJobSuccessResultResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Represents the success of a job as returned to the pipeline by a job worker. Only used for custom
[slot] PutThirdPartyJobFailureResultResponse *CodePipelineClient::putThirdPartyJobFailureResult(const PutThirdPartyJobFailureResultRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an PutThirdPartyJobFailureResultResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Represents the failure of a third party job as returned to the pipeline by a job worker. Only used for partner
[slot] PutThirdPartyJobSuccessResultResponse *CodePipelineClient::putThirdPartyJobSuccessResult(const PutThirdPartyJobSuccessResultRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an PutThirdPartyJobSuccessResultResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Represents the success of a third party job as returned to the pipeline by a job worker. Only used for partner
[slot] PutWebhookResponse *CodePipelineClient::putWebhook(const PutWebhookRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an PutWebhookResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Defines a webhook and returns a unique webhook URL generated by CodePipeline. This URL can be supplied to third party source hosting providers to call every time there's a code change. When CodePipeline receives a POST request on this URL, the pipeline defined in the webhook is started as long as the POST request satisfied the authentication and filtering requirements supplied when defining the webhook. RegisterWebhookWithThirdParty and DeregisterWebhookWithThirdParty APIs can be used to automatically configure supported third parties to call the generated webhook
[slot] RegisterWebhookWithThirdPartyResponse *CodePipelineClient::registerWebhookWithThirdParty(const RegisterWebhookWithThirdPartyRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an RegisterWebhookWithThirdPartyResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Configures a connection between the webhook that was created and the external tool with events to be
[slot] RetryStageExecutionResponse *CodePipelineClient::retryStageExecution(const RetryStageExecutionRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an RetryStageExecutionResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Resumes the pipeline execution by retrying the last failed actions in a
[slot] StartPipelineExecutionResponse *CodePipelineClient::startPipelineExecution(const StartPipelineExecutionRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an StartPipelineExecutionResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location specified as part of the
[slot] UpdatePipelineResponse *CodePipelineClient::updatePipeline(const UpdatePipelineRequest &request)
Sends request to the CodePipelineClient service, and returns a pointer to an UpdatePipelineResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure in conjunction with UpdatePipeline to provide the full structure of the pipeline. Updating the pipeline increases the version number of the pipeline by
© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.