/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.codepipeline; import javax.annotation.Generated; import com.amazonaws.services.codepipeline.model.*; /** * Interface for accessing CodePipeline asynchronously. Each asynchronous method will return a Java Future object * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive * notification when an asynchronous operation completes. *
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.codepipeline.AbstractAWSCodePipelineAsync} instead. *
*
*
* Overview *
** This is the CodePipeline API Reference. This guide provides descriptions of the actions and data types for * CodePipeline. Some functionality for your pipeline can only be configured through the API. For more information, see * the CodePipeline User Guide. *
** You can use the CodePipeline API to work with pipelines, stages, actions, and transitions. *
** Pipelines are models of automated release processes. Each pipeline is uniquely named, and consists of stages, * actions, and transitions. *
** You can work with pipelines by calling: *
** CreatePipeline, which creates a uniquely named pipeline. *
** DeletePipeline, which deletes the specified pipeline. *
** GetPipeline, which returns information about the pipeline structure and pipeline metadata, including the * pipeline Amazon Resource Name (ARN). *
** GetPipelineExecution, which returns information about a specific execution of a pipeline. *
** GetPipelineState, which returns information about the current state of the stages and actions of a pipeline. *
** ListActionExecutions, which returns action-level details for past executions. The details include full stage * and action-level details, including individual action duration, status, any errors that occurred during the * execution, and input and output artifact location details. *
** ListPipelines, which gets a summary of all of the pipelines associated with your account. *
** ListPipelineExecutions, which gets a summary of the most recent executions for a pipeline. *
** StartPipelineExecution, which runs the most recent revision of an artifact through the pipeline. *
** StopPipelineExecution, which stops the specified pipeline execution from continuing through the pipeline. *
** UpdatePipeline, which updates a pipeline with edits or changes to the structure of the pipeline. *
** Pipelines include stages. Each stage contains one or more actions that must complete before the next stage * begins. A stage results in success or failure. If a stage fails, the pipeline stops at that stage and remains stopped * until either a new version of an artifact appears in the source location, or a user takes action to rerun the most * recent artifact through the pipeline. You can call GetPipelineState, which displays the status of a pipeline, * including the status of stages in the pipeline, or GetPipeline, which returns the entire structure of the * pipeline, including the stages of that pipeline. For more information about the structure of stages and actions, see * CodePipeline Pipeline * Structure Reference. *
** Pipeline stages include actions that are categorized into categories such as source or build actions performed * in 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 CreatePipeline and GetPipelineState. Valid * action categories are: *
** Source *
** Build *
** Test *
** Deploy *
** Approval *
** Invoke *
** Pipelines also include transitions, 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: *
** DisableStageTransition, which prevents artifacts from transitioning to the next stage in a pipeline. *
** EnableStageTransition, which enables transition of artifacts between stages in a pipeline. *
** Using the API to integrate with CodePipeline *
** For third-party integrators or developers who want to create their own integrations with CodePipeline, the expected * sequence varies from the standard API user. To integrate with CodePipeline, developers need to work with the * following items: *
** Jobs, which are instances of an action. For example, a job for a source action might import a revision of an * artifact from a source. *
** You can work with jobs by calling: *
** AcknowledgeJob, which confirms whether a job worker has received the specified job. *
** GetJobDetails, which returns the details of a job. *
** PollForJobs, which determines whether there are any jobs to act on. *
** PutJobFailureResult, which provides details of a job failure. *
** PutJobSuccessResult, which provides details of a job success. *
** Third party jobs, which are instances of an action created by a partner action and integrated into * CodePipeline. Partner actions are created by members of the Amazon Web Services Partner Network. *
** You can work with third party jobs by calling: *
** AcknowledgeThirdPartyJob, which confirms whether a job worker has received the specified job. *
** GetThirdPartyJobDetails, which requests the details of a job for a partner action. *
** PollForThirdPartyJobs, which determines whether there are any jobs to act on. *
** PutThirdPartyJobFailureResult, which provides details of a job failure. *
** PutThirdPartyJobSuccessResult, which provides details of a job success. *
** Returns information about a specified job and whether that job has been received by the job worker. Used for * custom actions only. *
* * @param acknowledgeJobRequest * Represents the input of an AcknowledgeJob action. * @return A Java Future containing the result of the AcknowledgeJob operation returned by the service. * @sample AWSCodePipelineAsync.AcknowledgeJob * @see AWS * API Documentation */ java.util.concurrent.Future* Returns information about a specified job and whether that job has been received by the job worker. Used for * custom actions only. *
* * @param acknowledgeJobRequest * Represents the input of an AcknowledgeJob action. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the AcknowledgeJob operation returned by the service. * @sample AWSCodePipelineAsyncHandler.AcknowledgeJob * @see AWS * API Documentation */ java.util.concurrent.Future* Confirms a job worker has received the specified job. Used for partner actions only. *
* * @param acknowledgeThirdPartyJobRequest * Represents the input of an AcknowledgeThirdPartyJob action. * @return A Java Future containing the result of the AcknowledgeThirdPartyJob operation returned by the service. * @sample AWSCodePipelineAsync.AcknowledgeThirdPartyJob * @see AWS API Documentation */ java.util.concurrent.Future* Confirms a job worker has received the specified job. Used for partner actions only. *
* * @param acknowledgeThirdPartyJobRequest * Represents the input of an AcknowledgeThirdPartyJob action. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the AcknowledgeThirdPartyJob operation returned by the service. * @sample AWSCodePipelineAsyncHandler.AcknowledgeThirdPartyJob * @see AWS API Documentation */ java.util.concurrent.Future* Creates a new custom action that can be used in all pipelines associated with the Amazon Web Services account. * Only used for custom actions. *
* * @param createCustomActionTypeRequest * Represents the input of a CreateCustomActionType operation. * @return A Java Future containing the result of the CreateCustomActionType operation returned by the service. * @sample AWSCodePipelineAsync.CreateCustomActionType * @see AWS API Documentation */ java.util.concurrent.Future* Creates a new custom action that can be used in all pipelines associated with the Amazon Web Services account. * Only used for custom actions. *
* * @param createCustomActionTypeRequest * Represents the input of a CreateCustomActionType operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateCustomActionType operation returned by the service. * @sample AWSCodePipelineAsyncHandler.CreateCustomActionType * @see AWS API Documentation */ java.util.concurrent.Future* Creates a pipeline. *
*
* In the pipeline structure, you must include either artifactStore
or artifactStores
in
* your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use
* artifactStores
.
*
CreatePipeline
action.
* @return A Java Future containing the result of the CreatePipeline operation returned by the service.
* @sample AWSCodePipelineAsync.CreatePipeline
* @see AWS
* API Documentation
*/
java.util.concurrent.Future* Creates a pipeline. *
*
* In the pipeline structure, you must include either artifactStore
or artifactStores
in
* your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use
* artifactStores
.
*
CreatePipeline
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CreatePipeline operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.CreatePipeline
* @see AWS
* API Documentation
*/
java.util.concurrent.Future
* Marks a custom action as deleted. PollForJobs
for the custom action fails after the action is marked
* for deletion. Used for custom actions only.
*
* 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 * field. *
*DeleteCustomActionType
operation. The custom action will be marked
* as deleted.
* @return A Java Future containing the result of the DeleteCustomActionType operation returned by the service.
* @sample AWSCodePipelineAsync.DeleteCustomActionType
* @see AWS API Documentation
*/
java.util.concurrent.Future
* Marks a custom action as deleted. PollForJobs
for the custom action fails after the action is marked
* for deletion. Used for custom actions only.
*
* 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 * field. *
*DeleteCustomActionType
operation. The custom action will be marked
* as deleted.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeleteCustomActionType operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.DeleteCustomActionType
* @see AWS API Documentation
*/
java.util.concurrent.Future* Deletes the specified pipeline. *
* * @param deletePipelineRequest * Represents the input of aDeletePipeline
action.
* @return A Java Future containing the result of the DeletePipeline operation returned by the service.
* @sample AWSCodePipelineAsync.DeletePipeline
* @see AWS
* API Documentation
*/
java.util.concurrent.Future* Deletes the specified pipeline. *
* * @param deletePipelineRequest * Represents the input of aDeletePipeline
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeletePipeline operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.DeletePipeline
* @see AWS
* API Documentation
*/
java.util.concurrent.Future* Deletes a previously created webhook by name. Deleting the webhook stops CodePipeline from starting a pipeline * every time an external event occurs. The API returns 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 * URL. *
* * @param deleteWebhookRequest * @return A Java Future containing the result of the DeleteWebhook operation returned by the service. * @sample AWSCodePipelineAsync.DeleteWebhook * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes a previously created webhook by name. Deleting the webhook stops CodePipeline from starting a pipeline * every time an external event occurs. The API returns 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 * URL. *
* * @param deleteWebhookRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteWebhook operation returned by the service. * @sample AWSCodePipelineAsyncHandler.DeleteWebhook * @see AWS API * Documentation */ java.util.concurrent.Future* Removes the connection between the webhook that was created by CodePipeline and the external tool with events to * be detected. Currently supported only for webhooks that target an action type of GitHub. *
* * @param deregisterWebhookWithThirdPartyRequest * @return A Java Future containing the result of the DeregisterWebhookWithThirdParty operation returned by the * service. * @sample AWSCodePipelineAsync.DeregisterWebhookWithThirdParty * @see AWS API Documentation */ java.util.concurrent.Future* Removes the connection between the webhook that was created by CodePipeline and the external tool with events to * be detected. Currently supported only for webhooks that target an action type of GitHub. *
* * @param deregisterWebhookWithThirdPartyRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeregisterWebhookWithThirdParty operation returned by the * service. * @sample AWSCodePipelineAsyncHandler.DeregisterWebhookWithThirdParty * @see AWS API Documentation */ java.util.concurrent.Future* Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline. *
* * @param disableStageTransitionRequest * Represents the input of aDisableStageTransition
action.
* @return A Java Future containing the result of the DisableStageTransition operation returned by the service.
* @sample AWSCodePipelineAsync.DisableStageTransition
* @see AWS API Documentation
*/
java.util.concurrent.Future* Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline. *
* * @param disableStageTransitionRequest * Represents the input of aDisableStageTransition
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DisableStageTransition operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.DisableStageTransition
* @see AWS API Documentation
*/
java.util.concurrent.Future* Enables artifacts in a pipeline to transition to a stage in a pipeline. *
* * @param enableStageTransitionRequest * Represents the input of anEnableStageTransition
action.
* @return A Java Future containing the result of the EnableStageTransition operation returned by the service.
* @sample AWSCodePipelineAsync.EnableStageTransition
* @see AWS API Documentation
*/
java.util.concurrent.Future* Enables artifacts in a pipeline to transition to a stage in a pipeline. *
* * @param enableStageTransitionRequest * Represents the input of anEnableStageTransition
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the EnableStageTransition operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.EnableStageTransition
* @see AWS API Documentation
*/
java.util.concurrent.Future* Returns information about an action type created for an external provider, where the action is to be used by * customers of the external provider. The action can be created with any supported integration model. *
* * @param getActionTypeRequest * @return A Java Future containing the result of the GetActionType operation returned by the service. * @sample AWSCodePipelineAsync.GetActionType * @see AWS API * Documentation */ java.util.concurrent.Future* Returns information about an action type created for an external provider, where the action is to be used by * customers of the external provider. The action can be created with any supported integration model. *
* * @param getActionTypeRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetActionType operation returned by the service. * @sample AWSCodePipelineAsyncHandler.GetActionType * @see AWS API * Documentation */ java.util.concurrent.Future* Returns information about a job. Used for custom actions only. *
** When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for * the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also * returns any secret values defined for the action. *
*GetJobDetails
action.
* @return A Java Future containing the result of the GetJobDetails operation returned by the service.
* @sample AWSCodePipelineAsync.GetJobDetails
* @see AWS API
* Documentation
*/
java.util.concurrent.Future* Returns information about a job. Used for custom actions only. *
** When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for * the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also * returns any secret values defined for the action. *
*GetJobDetails
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetJobDetails operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.GetJobDetails
* @see AWS API
* Documentation
*/
java.util.concurrent.Future* 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 * UpdatePipeline. *
* * @param getPipelineRequest * Represents the input of aGetPipeline
action.
* @return A Java Future containing the result of the GetPipeline operation returned by the service.
* @sample AWSCodePipelineAsync.GetPipeline
* @see AWS API
* Documentation
*/
java.util.concurrent.Future* 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 * UpdatePipeline. *
* * @param getPipelineRequest * Represents the input of aGetPipeline
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetPipeline operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.GetPipeline
* @see AWS API
* Documentation
*/
java.util.concurrent.Future* Returns information about an execution of a pipeline, including details about artifacts, the pipeline execution * ID, and the name, version, and status of the pipeline. *
* * @param getPipelineExecutionRequest * Represents the input of aGetPipelineExecution
action.
* @return A Java Future containing the result of the GetPipelineExecution operation returned by the service.
* @sample AWSCodePipelineAsync.GetPipelineExecution
* @see AWS API Documentation
*/
java.util.concurrent.Future* Returns information about an execution of a pipeline, including details about artifacts, the pipeline execution * ID, and the name, version, and status of the pipeline. *
* * @param getPipelineExecutionRequest * Represents the input of aGetPipelineExecution
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetPipelineExecution operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.GetPipelineExecution
* @see AWS API Documentation
*/
java.util.concurrent.Future* Returns information about the state of a pipeline, including the stages and actions. *
*
* Values returned in the revisionId
and revisionUrl
fields indicate the source revision
* information, such as the commit ID, for the current state.
*
GetPipelineState
action.
* @return A Java Future containing the result of the GetPipelineState operation returned by the service.
* @sample AWSCodePipelineAsync.GetPipelineState
* @see AWS
* API Documentation
*/
java.util.concurrent.Future* Returns information about the state of a pipeline, including the stages and actions. *
*
* Values returned in the revisionId
and revisionUrl
fields indicate the source revision
* information, such as the commit ID, for the current state.
*
GetPipelineState
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetPipelineState operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.GetPipelineState
* @see AWS
* API Documentation
*/
java.util.concurrent.Future* Requests the details of a job for a third party action. Used for partner actions only. *
** When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for * the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also * returns any secret values defined for the action. *
*GetThirdPartyJobDetails
action.
* @return A Java Future containing the result of the GetThirdPartyJobDetails operation returned by the service.
* @sample AWSCodePipelineAsync.GetThirdPartyJobDetails
* @see AWS API Documentation
*/
java.util.concurrent.Future* Requests the details of a job for a third party action. Used for partner actions only. *
** When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for * the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also * returns any secret values defined for the action. *
*GetThirdPartyJobDetails
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetThirdPartyJobDetails operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.GetThirdPartyJobDetails
* @see AWS API Documentation
*/
java.util.concurrent.Future* Lists the action executions that have occurred in a pipeline. *
* * @param listActionExecutionsRequest * @return A Java Future containing the result of the ListActionExecutions operation returned by the service. * @sample AWSCodePipelineAsync.ListActionExecutions * @see AWS API Documentation */ java.util.concurrent.Future* Lists the action executions that have occurred in a pipeline. *
* * @param listActionExecutionsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListActionExecutions operation returned by the service. * @sample AWSCodePipelineAsyncHandler.ListActionExecutions * @see AWS API Documentation */ java.util.concurrent.Future* Gets a summary of all CodePipeline action types associated with your account. *
* * @param listActionTypesRequest * Represents the input of aListActionTypes
action.
* @return A Java Future containing the result of the ListActionTypes operation returned by the service.
* @sample AWSCodePipelineAsync.ListActionTypes
* @see AWS
* API Documentation
*/
java.util.concurrent.Future* Gets a summary of all CodePipeline action types associated with your account. *
* * @param listActionTypesRequest * Represents the input of aListActionTypes
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListActionTypes operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.ListActionTypes
* @see AWS
* API Documentation
*/
java.util.concurrent.Future* Gets a summary of the most recent executions for a pipeline. *
* * @param listPipelineExecutionsRequest * Represents the input of aListPipelineExecutions
action.
* @return A Java Future containing the result of the ListPipelineExecutions operation returned by the service.
* @sample AWSCodePipelineAsync.ListPipelineExecutions
* @see AWS API Documentation
*/
java.util.concurrent.Future* Gets a summary of the most recent executions for a pipeline. *
* * @param listPipelineExecutionsRequest * Represents the input of aListPipelineExecutions
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListPipelineExecutions operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.ListPipelineExecutions
* @see AWS API Documentation
*/
java.util.concurrent.Future* Gets a summary of all of the pipelines associated with your account. *
* * @param listPipelinesRequest * Represents the input of aListPipelines
action.
* @return A Java Future containing the result of the ListPipelines operation returned by the service.
* @sample AWSCodePipelineAsync.ListPipelines
* @see AWS API
* Documentation
*/
java.util.concurrent.Future* Gets a summary of all of the pipelines associated with your account. *
* * @param listPipelinesRequest * Represents the input of aListPipelines
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListPipelines operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.ListPipelines
* @see AWS API
* Documentation
*/
java.util.concurrent.Future* Gets the set of key-value pairs (metadata) that are used to manage the resource. *
* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSCodePipelineAsync.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future* Gets the set of key-value pairs (metadata) that are used to manage the resource. *
* * @param listTagsForResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSCodePipelineAsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future* Gets a listing of all the webhooks in this Amazon Web Services Region for this account. The output lists all * webhooks and includes the webhook URL and ARN and the configuration for each webhook. *
* * @param listWebhooksRequest * @return A Java Future containing the result of the ListWebhooks operation returned by the service. * @sample AWSCodePipelineAsync.ListWebhooks * @see AWS API * Documentation */ java.util.concurrent.Future* Gets a listing of all the webhooks in this Amazon Web Services Region for this account. The output lists all * webhooks and includes the webhook URL and ARN and the configuration for each webhook. *
* * @param listWebhooksRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListWebhooks operation returned by the service. * @sample AWSCodePipelineAsyncHandler.ListWebhooks * @see AWS API * Documentation */ java.util.concurrent.Future
* Returns information about any jobs for CodePipeline to act on. PollForJobs
is valid only 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.
*
* When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for * the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also * returns any secret values defined for the action. *
*PollForJobs
action.
* @return A Java Future containing the result of the PollForJobs operation returned by the service.
* @sample AWSCodePipelineAsync.PollForJobs
* @see AWS API
* Documentation
*/
java.util.concurrent.Future
* Returns information about any jobs for CodePipeline to act on. PollForJobs
is valid only 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.
*
* When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for * the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also * returns any secret values defined for the action. *
*PollForJobs
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the PollForJobs operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.PollForJobs
* @see AWS API
* Documentation
*/
java.util.concurrent.Future* Determines whether there are any third party jobs for a job worker to act on. Used for partner actions only. *
** When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for * the pipeline, if the action requires access to that S3 bucket for input or output artifacts. *
*PollForThirdPartyJobs
action.
* @return A Java Future containing the result of the PollForThirdPartyJobs operation returned by the service.
* @sample AWSCodePipelineAsync.PollForThirdPartyJobs
* @see AWS API Documentation
*/
java.util.concurrent.Future* Determines whether there are any third party jobs for a job worker to act on. Used for partner actions only. *
** When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for * the pipeline, if the action requires access to that S3 bucket for input or output artifacts. *
*PollForThirdPartyJobs
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the PollForThirdPartyJobs operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.PollForThirdPartyJobs
* @see AWS API Documentation
*/
java.util.concurrent.Future* Provides information to CodePipeline about new revisions to a source. *
* * @param putActionRevisionRequest * Represents the input of aPutActionRevision
action.
* @return A Java Future containing the result of the PutActionRevision operation returned by the service.
* @sample AWSCodePipelineAsync.PutActionRevision
* @see AWS
* API Documentation
*/
java.util.concurrent.Future* Provides information to CodePipeline about new revisions to a source. *
* * @param putActionRevisionRequest * Represents the input of aPutActionRevision
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the PutActionRevision operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.PutActionRevision
* @see AWS
* API Documentation
*/
java.util.concurrent.Future* Provides the response to a manual approval request to CodePipeline. Valid responses include Approved and * Rejected. *
* * @param putApprovalResultRequest * Represents the input of aPutApprovalResult
action.
* @return A Java Future containing the result of the PutApprovalResult operation returned by the service.
* @sample AWSCodePipelineAsync.PutApprovalResult
* @see AWS
* API Documentation
*/
java.util.concurrent.Future* Provides the response to a manual approval request to CodePipeline. Valid responses include Approved and * Rejected. *
* * @param putApprovalResultRequest * Represents the input of aPutApprovalResult
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the PutApprovalResult operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.PutApprovalResult
* @see AWS
* API Documentation
*/
java.util.concurrent.Future* Represents the failure of a job as returned to the pipeline by a job worker. Used for custom actions only. *
* * @param putJobFailureResultRequest * Represents the input of aPutJobFailureResult
action.
* @return A Java Future containing the result of the PutJobFailureResult operation returned by the service.
* @sample AWSCodePipelineAsync.PutJobFailureResult
* @see AWS API Documentation
*/
java.util.concurrent.Future* Represents the failure of a job as returned to the pipeline by a job worker. Used for custom actions only. *
* * @param putJobFailureResultRequest * Represents the input of aPutJobFailureResult
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the PutJobFailureResult operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.PutJobFailureResult
* @see AWS API Documentation
*/
java.util.concurrent.Future* Represents the success of a job as returned to the pipeline by a job worker. Used for custom actions only. *
* * @param putJobSuccessResultRequest * Represents the input of aPutJobSuccessResult
action.
* @return A Java Future containing the result of the PutJobSuccessResult operation returned by the service.
* @sample AWSCodePipelineAsync.PutJobSuccessResult
* @see AWS API Documentation
*/
java.util.concurrent.Future* Represents the success of a job as returned to the pipeline by a job worker. Used for custom actions only. *
* * @param putJobSuccessResultRequest * Represents the input of aPutJobSuccessResult
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the PutJobSuccessResult operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.PutJobSuccessResult
* @see AWS API Documentation
*/
java.util.concurrent.Future* Represents the failure of a third party job as returned to the pipeline by a job worker. Used for partner actions * only. *
* * @param putThirdPartyJobFailureResultRequest * Represents the input of aPutThirdPartyJobFailureResult
action.
* @return A Java Future containing the result of the PutThirdPartyJobFailureResult operation returned by the
* service.
* @sample AWSCodePipelineAsync.PutThirdPartyJobFailureResult
* @see AWS API Documentation
*/
java.util.concurrent.Future* Represents the failure of a third party job as returned to the pipeline by a job worker. Used for partner actions * only. *
* * @param putThirdPartyJobFailureResultRequest * Represents the input of aPutThirdPartyJobFailureResult
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the PutThirdPartyJobFailureResult operation returned by the
* service.
* @sample AWSCodePipelineAsyncHandler.PutThirdPartyJobFailureResult
* @see AWS API Documentation
*/
java.util.concurrent.Future* Represents the success of a third party job as returned to the pipeline by a job worker. Used for partner actions * only. *
* * @param putThirdPartyJobSuccessResultRequest * Represents the input of aPutThirdPartyJobSuccessResult
action.
* @return A Java Future containing the result of the PutThirdPartyJobSuccessResult operation returned by the
* service.
* @sample AWSCodePipelineAsync.PutThirdPartyJobSuccessResult
* @see AWS API Documentation
*/
java.util.concurrent.Future* Represents the success of a third party job as returned to the pipeline by a job worker. Used for partner actions * only. *
* * @param putThirdPartyJobSuccessResultRequest * Represents the input of aPutThirdPartyJobSuccessResult
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the PutThirdPartyJobSuccessResult operation returned by the
* service.
* @sample AWSCodePipelineAsyncHandler.PutThirdPartyJobSuccessResult
* @see AWS API Documentation
*/
java.util.concurrent.Future* 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 URL. *
* * @param putWebhookRequest * @return A Java Future containing the result of the PutWebhook operation returned by the service. * @sample AWSCodePipelineAsync.PutWebhook * @see AWS API * Documentation */ java.util.concurrent.Future* 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 URL. *
* * @param putWebhookRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the PutWebhook operation returned by the service. * @sample AWSCodePipelineAsyncHandler.PutWebhook * @see AWS API * Documentation */ java.util.concurrent.Future* Configures a connection between the webhook that was created and the external tool with events to be detected. *
* * @param registerWebhookWithThirdPartyRequest * @return A Java Future containing the result of the RegisterWebhookWithThirdParty operation returned by the * service. * @sample AWSCodePipelineAsync.RegisterWebhookWithThirdParty * @see AWS API Documentation */ java.util.concurrent.Future* Configures a connection between the webhook that was created and the external tool with events to be detected. *
* * @param registerWebhookWithThirdPartyRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the RegisterWebhookWithThirdParty operation returned by the * service. * @sample AWSCodePipelineAsyncHandler.RegisterWebhookWithThirdParty * @see AWS API Documentation */ java.util.concurrent.Future* Resumes the pipeline execution by retrying the last failed actions in a stage. You can retry a stage immediately * if any of the actions in the stage fail. When you retry, all actions that are still in progress continue working, * and failed actions are triggered again. *
* * @param retryStageExecutionRequest * Represents the input of aRetryStageExecution
action.
* @return A Java Future containing the result of the RetryStageExecution operation returned by the service.
* @sample AWSCodePipelineAsync.RetryStageExecution
* @see AWS API Documentation
*/
java.util.concurrent.Future* Resumes the pipeline execution by retrying the last failed actions in a stage. You can retry a stage immediately * if any of the actions in the stage fail. When you retry, all actions that are still in progress continue working, * and failed actions are triggered again. *
* * @param retryStageExecutionRequest * Represents the input of aRetryStageExecution
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the RetryStageExecution operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.RetryStageExecution
* @see AWS API Documentation
*/
java.util.concurrent.Future* Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location * specified as part of the pipeline. *
* * @param startPipelineExecutionRequest * Represents the input of aStartPipelineExecution
action.
* @return A Java Future containing the result of the StartPipelineExecution operation returned by the service.
* @sample AWSCodePipelineAsync.StartPipelineExecution
* @see AWS API Documentation
*/
java.util.concurrent.Future* Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location * specified as part of the pipeline. *
* * @param startPipelineExecutionRequest * Represents the input of aStartPipelineExecution
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the StartPipelineExecution operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.StartPipelineExecution
* @see AWS API Documentation
*/
java.util.concurrent.Future
* Stops the specified pipeline execution. You choose to either stop the pipeline execution by completing
* in-progress actions without starting subsequent actions, or by abandoning in-progress actions. While completing
* or abandoning in-progress actions, the pipeline execution is in a Stopping
state. After all
* in-progress actions are completed or abandoned, the pipeline execution is in a Stopped
state.
*
* Stops the specified pipeline execution. You choose to either stop the pipeline execution by completing
* in-progress actions without starting subsequent actions, or by abandoning in-progress actions. While completing
* or abandoning in-progress actions, the pipeline execution is in a Stopping
state. After all
* in-progress actions are completed or abandoned, the pipeline execution is in a Stopped
state.
*
* Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource. *
* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSCodePipelineAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource. *
* * @param tagResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSCodePipelineAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Removes tags from an Amazon Web Services resource. *
* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSCodePipelineAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Removes tags from an Amazon Web Services resource. *
* * @param untagResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSCodePipelineAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future
* Updates an action type that was created with any supported integration model, where the action type is to be used
* by customers of the action type provider. Use a JSON file with the action definition and
* UpdateActionType
to provide the full structure.
*
* Updates an action type that was created with any supported integration model, where the action type is to be used
* by customers of the action type provider. Use a JSON file with the action definition and
* UpdateActionType
to provide the full structure.
*
* Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure
* and UpdatePipeline
to provide the full structure of the pipeline. Updating the pipeline increases
* the version number of the pipeline by 1.
*
UpdatePipeline
action.
* @return A Java Future containing the result of the UpdatePipeline operation returned by the service.
* @sample AWSCodePipelineAsync.UpdatePipeline
* @see AWS
* API Documentation
*/
java.util.concurrent.Future
* Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure
* and UpdatePipeline
to provide the full structure of the pipeline. Updating the pipeline increases
* the version number of the pipeline by 1.
*
UpdatePipeline
action.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the UpdatePipeline operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.UpdatePipeline
* @see AWS
* API Documentation
*/
java.util.concurrent.Future