public class AbstractAWSCodePipeline extends Object implements AWSCodePipeline
AWSCodePipeline
. Convenient method forms
pass through to the corresponding overload that takes a request object, which
throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AcknowledgeJobResult |
acknowledgeJob(AcknowledgeJobRequest request)
Returns information about a specified job and whether that job has been
received by the job worker.
|
AcknowledgeThirdPartyJobResult |
acknowledgeThirdPartyJob(AcknowledgeThirdPartyJobRequest request)
Confirms a job worker has received the specified job.
|
CreateCustomActionTypeResult |
createCustomActionType(CreateCustomActionTypeRequest request)
Creates a new custom action that can be used in all pipelines associated
with the AWS account.
|
CreatePipelineResult |
createPipeline(CreatePipelineRequest request)
Creates a pipeline.
|
DeleteCustomActionTypeResult |
deleteCustomActionType(DeleteCustomActionTypeRequest request)
Marks a custom action as deleted.
|
DeletePipelineResult |
deletePipeline(DeletePipelineRequest request)
Deletes the specified pipeline.
|
DisableStageTransitionResult |
disableStageTransition(DisableStageTransitionRequest request)
Prevents artifacts in a pipeline from transitioning to the next stage in
the pipeline.
|
EnableStageTransitionResult |
enableStageTransition(EnableStageTransitionRequest request)
Enables artifacts in a pipeline to transition to a stage in a pipeline.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request,
typically used for debugging issues where a service isn't acting as
expected.
|
GetJobDetailsResult |
getJobDetails(GetJobDetailsRequest request)
Returns information about a job.
|
GetPipelineResult |
getPipeline(GetPipelineRequest request)
Returns the metadata, structure, stages, and actions of a pipeline.
|
GetPipelineStateResult |
getPipelineState(GetPipelineStateRequest request)
Returns information about the state of a pipeline, including the stages
and actions.
|
GetThirdPartyJobDetailsResult |
getThirdPartyJobDetails(GetThirdPartyJobDetailsRequest request)
Requests the details of a job for a third party action.
|
ListActionTypesResult |
listActionTypes(ListActionTypesRequest request)
Gets a summary of all AWS CodePipeline action types associated with your
account.
|
ListPipelinesResult |
listPipelines(ListPipelinesRequest request)
Gets a summary of all of the pipelines associated with your account.
|
PollForJobsResult |
pollForJobs(PollForJobsRequest request)
Returns information about any jobs for AWS CodePipeline to act upon.
|
PollForThirdPartyJobsResult |
pollForThirdPartyJobs(PollForThirdPartyJobsRequest request)
Determines whether there are any third party jobs for a job worker to act
on.
|
PutActionRevisionResult |
putActionRevision(PutActionRevisionRequest request)
Provides information to AWS CodePipeline about new revisions to a source.
|
PutApprovalResultResult |
putApprovalResult(PutApprovalResultRequest request)
Provides the response to a manual approval request to AWS CodePipeline.
|
PutJobFailureResultResult |
putJobFailureResult(PutJobFailureResultRequest request)
Represents the failure of a job as returned to the pipeline by a job
worker.
|
PutJobSuccessResultResult |
putJobSuccessResult(PutJobSuccessResultRequest request)
Represents the success of a job as returned to the pipeline by a job
worker.
|
PutThirdPartyJobFailureResultResult |
putThirdPartyJobFailureResult(PutThirdPartyJobFailureResultRequest request)
Represents the failure of a third party job as returned to the pipeline
by a job worker.
|
PutThirdPartyJobSuccessResultResult |
putThirdPartyJobSuccessResult(PutThirdPartyJobSuccessResultRequest request)
Represents the success of a third party job as returned to the pipeline
by a job worker.
|
RetryStageExecutionResult |
retryStageExecution(RetryStageExecutionRequest request)
Resumes the pipeline execution by retrying the last failed actions in a
stage.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client
("https://codepipeline.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AWSCodePipeline.setEndpoint(String) , sets the
regional endpoint for this client's service calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartPipelineExecutionResult |
startPipelineExecution(StartPipelineExecutionRequest request)
Starts the specified pipeline.
|
UpdatePipelineResult |
updatePipeline(UpdatePipelineRequest request)
Updates a specified pipeline with edits or changes to its structure.
|
public void setEndpoint(String endpoint)
AWSCodePipeline
Callers can pass in just the endpoint (ex:
"codepipeline.us-east-1.amazonaws.com") or a full URL, including the
protocol (ex: "https://codepipeline.us-east-1.amazonaws.com"). If the
protocol is not specified here, the default protocol from this client's
ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID= 3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setEndpoint
in interface AWSCodePipeline
endpoint
- The endpoint (ex: "codepipeline.us-east-1.amazonaws.com") or a
full URL, including the protocol (ex:
"https://codepipeline.us-east-1.amazonaws.com") of the region
specific AWS endpoint this client will communicate with.public void setRegion(Region region)
AWSCodePipeline
AWSCodePipeline.setEndpoint(String)
, sets the
regional endpoint for this client's service calls. Callers can use this
method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol.
To use http instead, specify it in the ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setRegion
in interface AWSCodePipeline
region
- The region this client will communicate with. See
Region.getRegion(com.amazonaws.regions.Regions)
for
accessing a given region. Must not be null and must be a region
where the service is available.Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class,
com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
,
Region.isServiceSupported(String)
public AcknowledgeJobResult acknowledgeJob(AcknowledgeJobRequest request)
AWSCodePipeline
Returns information about a specified job and whether that job has been received by the job worker. Only used for custom actions.
acknowledgeJob
in interface AWSCodePipeline
request
- Represents the input of an acknowledge job action.public AcknowledgeThirdPartyJobResult acknowledgeThirdPartyJob(AcknowledgeThirdPartyJobRequest request)
AWSCodePipeline
Confirms a job worker has received the specified job. Only used for partner actions.
acknowledgeThirdPartyJob
in interface AWSCodePipeline
request
- Represents the input of an acknowledge third party job action.public CreateCustomActionTypeResult createCustomActionType(CreateCustomActionTypeRequest request)
AWSCodePipeline
Creates a new custom action that can be used in all pipelines associated with the AWS account. Only used for custom actions.
createCustomActionType
in interface AWSCodePipeline
request
- Represents the input of a create custom action operation.public CreatePipelineResult createPipeline(CreatePipelineRequest request)
AWSCodePipeline
Creates a pipeline.
createPipeline
in interface AWSCodePipeline
request
- Represents the input of a create pipeline action.public DeleteCustomActionTypeResult deleteCustomActionType(DeleteCustomActionTypeRequest request)
AWSCodePipeline
Marks a custom action as deleted. PollForJobs for the custom action will fail after the action is marked for deletion. Only used for custom actions.
You cannot recreate a custom action after it has been deleted unless you increase the version number of the action.
deleteCustomActionType
in interface AWSCodePipeline
request
- Represents the input of a delete custom action operation. The
custom action will be marked as deleted.public DeletePipelineResult deletePipeline(DeletePipelineRequest request)
AWSCodePipeline
Deletes the specified pipeline.
deletePipeline
in interface AWSCodePipeline
request
- Represents the input of a delete pipeline action.public DisableStageTransitionResult disableStageTransition(DisableStageTransitionRequest request)
AWSCodePipeline
Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline.
disableStageTransition
in interface AWSCodePipeline
request
- Represents the input of a disable stage transition input action.public EnableStageTransitionResult enableStageTransition(EnableStageTransitionRequest request)
AWSCodePipeline
Enables artifacts in a pipeline to transition to a stage in a pipeline.
enableStageTransition
in interface AWSCodePipeline
request
- Represents the input of an enable stage transition action.public GetJobDetailsResult getJobDetails(GetJobDetailsRequest request)
AWSCodePipeline
Returns information about a job. Only used for custom actions.
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action.
getJobDetails
in interface AWSCodePipeline
request
- Represents the input of a get job details action.public GetPipelineResult getPipeline(GetPipelineRequest request)
AWSCodePipeline
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.
getPipeline
in interface AWSCodePipeline
request
- Represents the input of a get pipeline action.public GetPipelineStateResult getPipelineState(GetPipelineStateRequest request)
AWSCodePipeline
Returns information about the state of a pipeline, including the stages and actions.
getPipelineState
in interface AWSCodePipeline
request
- Represents the input of a get pipeline state action.public GetThirdPartyJobDetailsResult getThirdPartyJobDetails(GetThirdPartyJobDetailsRequest request)
AWSCodePipeline
Requests the details of a job for a third party action. Only used for partner actions.
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action.
getThirdPartyJobDetails
in interface AWSCodePipeline
request
- Represents the input of a get third party job details action.public ListActionTypesResult listActionTypes(ListActionTypesRequest request)
AWSCodePipeline
Gets a summary of all AWS CodePipeline action types associated with your account.
listActionTypes
in interface AWSCodePipeline
request
- Represents the input of a list action types action.public ListPipelinesResult listPipelines(ListPipelinesRequest request)
AWSCodePipeline
Gets a summary of all of the pipelines associated with your account.
listPipelines
in interface AWSCodePipeline
request
- Represents the input of a list pipelines action.public PollForJobsResult pollForJobs(PollForJobsRequest request)
AWSCodePipeline
Returns information about any jobs for AWS CodePipeline to act upon.
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action.
pollForJobs
in interface AWSCodePipeline
request
- Represents the input of a poll for jobs action.public PollForThirdPartyJobsResult pollForThirdPartyJobs(PollForThirdPartyJobsRequest request)
AWSCodePipeline
Determines whether there are any third party jobs for a job worker to act on. Only used for partner actions.
When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts.
pollForThirdPartyJobs
in interface AWSCodePipeline
request
- Represents the input of a poll for third party jobs action.public PutActionRevisionResult putActionRevision(PutActionRevisionRequest request)
AWSCodePipeline
Provides information to AWS CodePipeline about new revisions to a source.
putActionRevision
in interface AWSCodePipeline
request
- Represents the input of a put action revision action.public PutApprovalResultResult putApprovalResult(PutApprovalResultRequest request)
AWSCodePipeline
Provides the response to a manual approval request to AWS CodePipeline. Valid responses include Approved and Rejected.
putApprovalResult
in interface AWSCodePipeline
request
- Represents the input of a put approval result action.public PutJobFailureResultResult putJobFailureResult(PutJobFailureResultRequest request)
AWSCodePipeline
Represents the failure of a job as returned to the pipeline by a job worker. Only used for custom actions.
putJobFailureResult
in interface AWSCodePipeline
request
- Represents the input of a put job failure result action.public PutJobSuccessResultResult putJobSuccessResult(PutJobSuccessResultRequest request)
AWSCodePipeline
Represents the success of a job as returned to the pipeline by a job worker. Only used for custom actions.
putJobSuccessResult
in interface AWSCodePipeline
request
- Represents the input of a put job success result action.public PutThirdPartyJobFailureResultResult putThirdPartyJobFailureResult(PutThirdPartyJobFailureResultRequest request)
AWSCodePipeline
Represents the failure of a third party job as returned to the pipeline by a job worker. Only used for partner actions.
putThirdPartyJobFailureResult
in interface AWSCodePipeline
request
- Represents the input of a third party job failure result action.public PutThirdPartyJobSuccessResultResult putThirdPartyJobSuccessResult(PutThirdPartyJobSuccessResultRequest request)
AWSCodePipeline
Represents the success of a third party job as returned to the pipeline by a job worker. Only used for partner actions.
putThirdPartyJobSuccessResult
in interface AWSCodePipeline
request
- Represents the input of a put third party job success result
action.public RetryStageExecutionResult retryStageExecution(RetryStageExecutionRequest request)
AWSCodePipeline
Resumes the pipeline execution by retrying the last failed actions in a stage.
retryStageExecution
in interface AWSCodePipeline
request
- Represents the input of a retry stage execution action.public StartPipelineExecutionResult startPipelineExecution(StartPipelineExecutionRequest request)
AWSCodePipeline
Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location specified as part of the pipeline.
startPipelineExecution
in interface AWSCodePipeline
request
- Represents the input of a start pipeline execution action.public UpdatePipelineResult updatePipeline(UpdatePipelineRequest request)
AWSCodePipeline
Updates a specified pipeline with edits or changes to its structure. Use a JSON file with the pipeline structure in conjunction with UpdatePipeline to provide the full structure of the pipeline. Updating the pipeline increases the version number of the pipeline by 1.
updatePipeline
in interface AWSCodePipeline
request
- Represents the input of an update pipeline action.public void shutdown()
AWSCodePipeline
shutdown
in interface AWSCodePipeline
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSCodePipeline
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AWSCodePipeline
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.