com.amazonaws.services.codepipeline.AWSCodePipelineAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-codepipeline Show documentation
/*
* Copyright 2015-2020 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.
*
*
* AWS CodePipeline
*
* Overview
*
*
* 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 can only be configured through the API. For more information, see
* the AWS CodePipeline User Guide.
*
*
* You can use the AWS 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
* AWS 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 AWS CodePipeline
*
*
* 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. To integrate with AWS 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 AWS
* CodePipeline. Partner actions are created by members of the AWS 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.
*
*
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSCodePipelineAsync extends AWSCodePipeline {
/**
*
* 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 acknowledgeJobAsync(AcknowledgeJobRequest acknowledgeJobRequest);
/**
*
* 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 acknowledgeJobAsync(AcknowledgeJobRequest acknowledgeJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 acknowledgeThirdPartyJobAsync(AcknowledgeThirdPartyJobRequest acknowledgeThirdPartyJobRequest);
/**
*
* 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 acknowledgeThirdPartyJobAsync(AcknowledgeThirdPartyJobRequest acknowledgeThirdPartyJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new custom action that can be used in all pipelines associated with the AWS 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 createCustomActionTypeAsync(CreateCustomActionTypeRequest createCustomActionTypeRequest);
/**
*
* Creates a new custom action that can be used in all pipelines associated with the AWS 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 createCustomActionTypeAsync(CreateCustomActionTypeRequest createCustomActionTypeRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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
.
*
*
*
* @param createPipelineRequest
* Represents the input of a 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 createPipelineAsync(CreatePipelineRequest createPipelineRequest);
/**
*
* 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
.
*
*
*
* @param createPipelineRequest
* Represents the input of a 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 createPipelineAsync(CreatePipelineRequest createPipelineRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
*
* @param deleteCustomActionTypeRequest
* Represents the input of a 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 deleteCustomActionTypeAsync(DeleteCustomActionTypeRequest deleteCustomActionTypeRequest);
/**
*
* 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.
*
*
*
* @param deleteCustomActionTypeRequest
* Represents the input of a 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 deleteCustomActionTypeAsync(DeleteCustomActionTypeRequest deleteCustomActionTypeRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the specified pipeline.
*
*
* @param deletePipelineRequest
* Represents the input of a DeletePipeline
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 deletePipelineAsync(DeletePipelineRequest deletePipelineRequest);
/**
*
* Deletes the specified pipeline.
*
*
* @param deletePipelineRequest
* Represents the input of a DeletePipeline
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 deletePipelineAsync(DeletePipelineRequest deletePipelineRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 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 deleteWebhookAsync(DeleteWebhookRequest deleteWebhookRequest);
/**
*
* 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 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 deleteWebhookAsync(DeleteWebhookRequest deleteWebhookRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 deregisterWebhookWithThirdPartyAsync(
DeregisterWebhookWithThirdPartyRequest deregisterWebhookWithThirdPartyRequest);
/**
*
* 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 deregisterWebhookWithThirdPartyAsync(
DeregisterWebhookWithThirdPartyRequest deregisterWebhookWithThirdPartyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline.
*
*
* @param disableStageTransitionRequest
* Represents the input of a DisableStageTransition
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 disableStageTransitionAsync(DisableStageTransitionRequest disableStageTransitionRequest);
/**
*
* Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline.
*
*
* @param disableStageTransitionRequest
* Represents the input of a DisableStageTransition
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 disableStageTransitionAsync(DisableStageTransitionRequest disableStageTransitionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Enables artifacts in a pipeline to transition to a stage in a pipeline.
*
*
* @param enableStageTransitionRequest
* Represents the input of an EnableStageTransition
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 enableStageTransitionAsync(EnableStageTransitionRequest enableStageTransitionRequest);
/**
*
* Enables artifacts in a pipeline to transition to a stage in a pipeline.
*
*
* @param enableStageTransitionRequest
* Represents the input of an EnableStageTransition
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 enableStageTransitionAsync(EnableStageTransitionRequest enableStageTransitionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about a job. Used for custom actions only.
*
*
*
* When this API is called, AWS 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.
*
*
*
* @param getJobDetailsRequest
* Represents the input of a 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 getJobDetailsAsync(GetJobDetailsRequest getJobDetailsRequest);
/**
*
* Returns information about a job. Used for custom actions only.
*
*
*
* When this API is called, AWS 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.
*
*
*
* @param getJobDetailsRequest
* Represents the input of a 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 getJobDetailsAsync(GetJobDetailsRequest getJobDetailsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 a GetPipeline
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 getPipelineAsync(GetPipelineRequest getPipelineRequest);
/**
*
* 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 a GetPipeline
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 getPipelineAsync(GetPipelineRequest getPipelineRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 a GetPipelineExecution
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 getPipelineExecutionAsync(GetPipelineExecutionRequest getPipelineExecutionRequest);
/**
*
* 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 a GetPipelineExecution
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 getPipelineExecutionAsync(GetPipelineExecutionRequest getPipelineExecutionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
*
* @param getPipelineStateRequest
* Represents the input of a 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 getPipelineStateAsync(GetPipelineStateRequest getPipelineStateRequest);
/**
*
* 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.
*
*
*
* @param getPipelineStateRequest
* Represents the input of a 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 getPipelineStateAsync(GetPipelineStateRequest getPipelineStateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Requests the details of a job for a third party action. Used for partner actions only.
*
*
*
* When this API is called, AWS 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.
*
*
*
* @param getThirdPartyJobDetailsRequest
* Represents the input of a 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 getThirdPartyJobDetailsAsync(GetThirdPartyJobDetailsRequest getThirdPartyJobDetailsRequest);
/**
*
* Requests the details of a job for a third party action. Used for partner actions only.
*
*
*
* When this API is called, AWS 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.
*
*
*
* @param getThirdPartyJobDetailsRequest
* Represents the input of a 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 getThirdPartyJobDetailsAsync(GetThirdPartyJobDetailsRequest getThirdPartyJobDetailsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 listActionExecutionsAsync(ListActionExecutionsRequest listActionExecutionsRequest);
/**
*
* 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 listActionExecutionsAsync(ListActionExecutionsRequest listActionExecutionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a summary of all AWS CodePipeline action types associated with your account.
*
*
* @param listActionTypesRequest
* Represents the input of a ListActionTypes
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 listActionTypesAsync(ListActionTypesRequest listActionTypesRequest);
/**
*
* Gets a summary of all AWS CodePipeline action types associated with your account.
*
*
* @param listActionTypesRequest
* Represents the input of a ListActionTypes
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 listActionTypesAsync(ListActionTypesRequest listActionTypesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a summary of the most recent executions for a pipeline.
*
*
* @param listPipelineExecutionsRequest
* Represents the input of a ListPipelineExecutions
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 listPipelineExecutionsAsync(ListPipelineExecutionsRequest listPipelineExecutionsRequest);
/**
*
* Gets a summary of the most recent executions for a pipeline.
*
*
* @param listPipelineExecutionsRequest
* Represents the input of a ListPipelineExecutions
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 listPipelineExecutionsAsync(ListPipelineExecutionsRequest listPipelineExecutionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a summary of all of the pipelines associated with your account.
*
*
* @param listPipelinesRequest
* Represents the input of a ListPipelines
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 listPipelinesAsync(ListPipelinesRequest listPipelinesRequest);
/**
*
* Gets a summary of all of the pipelines associated with your account.
*
*
* @param listPipelinesRequest
* Represents the input of a ListPipelines
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 listPipelinesAsync(ListPipelinesRequest listPipelinesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* 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 listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets a listing of all the webhooks in this AWS 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 listWebhooksAsync(ListWebhooksRequest listWebhooksRequest);
/**
*
* Gets a listing of all the webhooks in this AWS 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 listWebhooksAsync(ListWebhooksRequest listWebhooksRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about any jobs for AWS 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, AWS 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.
*
*
*
* @param pollForJobsRequest
* Represents the input of a 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 pollForJobsAsync(PollForJobsRequest pollForJobsRequest);
/**
*
* Returns information about any jobs for AWS 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, AWS 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.
*
*
*
* @param pollForJobsRequest
* Represents the input of a 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 pollForJobsAsync(PollForJobsRequest pollForJobsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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, AWS 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.
*
*
*
* @param pollForThirdPartyJobsRequest
* Represents the input of a 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 pollForThirdPartyJobsAsync(PollForThirdPartyJobsRequest pollForThirdPartyJobsRequest);
/**
*
* 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, AWS 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.
*
*
*
* @param pollForThirdPartyJobsRequest
* Represents the input of a 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 pollForThirdPartyJobsAsync(PollForThirdPartyJobsRequest pollForThirdPartyJobsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Provides information to AWS CodePipeline about new revisions to a source.
*
*
* @param putActionRevisionRequest
* Represents the input of a PutActionRevision
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 putActionRevisionAsync(PutActionRevisionRequest putActionRevisionRequest);
/**
*
* Provides information to AWS CodePipeline about new revisions to a source.
*
*
* @param putActionRevisionRequest
* Represents the input of a PutActionRevision
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 putActionRevisionAsync(PutActionRevisionRequest putActionRevisionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Provides the response to a manual approval request to AWS CodePipeline. Valid responses include Approved and
* Rejected.
*
*
* @param putApprovalResultRequest
* Represents the input of a PutApprovalResult
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 putApprovalResultAsync(PutApprovalResultRequest putApprovalResultRequest);
/**
*
* Provides the response to a manual approval request to AWS CodePipeline. Valid responses include Approved and
* Rejected.
*
*
* @param putApprovalResultRequest
* Represents the input of a PutApprovalResult
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 putApprovalResultAsync(PutApprovalResultRequest putApprovalResultRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 a PutJobFailureResult
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 putJobFailureResultAsync(PutJobFailureResultRequest putJobFailureResultRequest);
/**
*
* 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 a PutJobFailureResult
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 putJobFailureResultAsync(PutJobFailureResultRequest putJobFailureResultRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 a PutJobSuccessResult
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 putJobSuccessResultAsync(PutJobSuccessResultRequest putJobSuccessResultRequest);
/**
*
* 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 a PutJobSuccessResult
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 putJobSuccessResultAsync(PutJobSuccessResultRequest putJobSuccessResultRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 a PutThirdPartyJobFailureResult
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 putThirdPartyJobFailureResultAsync(
PutThirdPartyJobFailureResultRequest putThirdPartyJobFailureResultRequest);
/**
*
* 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 a PutThirdPartyJobFailureResult
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 putThirdPartyJobFailureResultAsync(
PutThirdPartyJobFailureResultRequest putThirdPartyJobFailureResultRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 a PutThirdPartyJobSuccessResult
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 putThirdPartyJobSuccessResultAsync(
PutThirdPartyJobSuccessResultRequest putThirdPartyJobSuccessResultRequest);
/**
*
* 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 a PutThirdPartyJobSuccessResult
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 putThirdPartyJobSuccessResultAsync(
PutThirdPartyJobSuccessResultRequest putThirdPartyJobSuccessResultRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 putWebhookAsync(PutWebhookRequest putWebhookRequest);
/**
*
* 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 putWebhookAsync(PutWebhookRequest putWebhookRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 registerWebhookWithThirdPartyAsync(
RegisterWebhookWithThirdPartyRequest registerWebhookWithThirdPartyRequest);
/**
*
* 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 registerWebhookWithThirdPartyAsync(
RegisterWebhookWithThirdPartyRequest registerWebhookWithThirdPartyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 a RetryStageExecution
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 retryStageExecutionAsync(RetryStageExecutionRequest retryStageExecutionRequest);
/**
*
* 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 a RetryStageExecution
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 retryStageExecutionAsync(RetryStageExecutionRequest retryStageExecutionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 a StartPipelineExecution
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 startPipelineExecutionAsync(StartPipelineExecutionRequest startPipelineExecutionRequest);
/**
*
* 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 a StartPipelineExecution
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 startPipelineExecutionAsync(StartPipelineExecutionRequest startPipelineExecutionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param stopPipelineExecutionRequest
* @return A Java Future containing the result of the StopPipelineExecution operation returned by the service.
* @sample AWSCodePipelineAsync.StopPipelineExecution
* @see AWS API Documentation
*/
java.util.concurrent.Future stopPipelineExecutionAsync(StopPipelineExecutionRequest stopPipelineExecutionRequest);
/**
*
* 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.
*
*
* @param stopPipelineExecutionRequest
* @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 StopPipelineExecution operation returned by the service.
* @sample AWSCodePipelineAsyncHandler.StopPipelineExecution
* @see AWS API Documentation
*/
java.util.concurrent.Future stopPipelineExecutionAsync(StopPipelineExecutionRequest stopPipelineExecutionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* 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 tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes tags from an AWS 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 untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes tags from an AWS 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 untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param updatePipelineRequest
* Represents the input of an 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 updatePipelineAsync(UpdatePipelineRequest updatePipelineRequest);
/**
*
* 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.
*
*
* @param updatePipelineRequest
* Represents the input of an 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 updatePipelineAsync(UpdatePipelineRequest updatePipelineRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}