@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
|
DeleteWebhookResult |
deleteWebhook(DeleteWebhookRequest request)
Deletes a previously created webhook by name.
|
DeregisterWebhookWithThirdPartyResult |
deregisterWebhookWithThirdParty(DeregisterWebhookWithThirdPartyRequest request)
Removes the connection between the webhook that was created by CodePipeline and the external tool with events to
be detected.
|
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.
|
GetPipelineExecutionResult |
getPipelineExecution(GetPipelineExecutionRequest request)
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.
|
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.
|
ListActionExecutionsResult |
listActionExecutions(ListActionExecutionsRequest request)
Lists the action executions that have occurred in a pipeline.
|
ListActionTypesResult |
listActionTypes(ListActionTypesRequest request)
Gets a summary of all AWS CodePipeline action types associated with your account.
|
ListPipelineExecutionsResult |
listPipelineExecutions(ListPipelineExecutionsRequest request)
Gets a summary of the most recent executions for a pipeline.
|
ListPipelinesResult |
listPipelines(ListPipelinesRequest request)
Gets a summary of all of the pipelines associated with your account.
|
ListWebhooksResult |
listWebhooks(ListWebhooksRequest request)
Gets a listing of all the webhooks in this region for this 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.
|
PutWebhookResult |
putWebhook(PutWebhookRequest request)
Defines a webhook and returns a unique webhook URL generated by CodePipeline.
|
RegisterWebhookWithThirdPartyResult |
registerWebhookWithThirdParty(RegisterWebhookWithThirdPartyRequest request)
Configures a connection between the webhook that was created and the external tool with events to be detected.
|
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: https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/java-dg-region-selection.html#region-selection- choose-endpoint
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 AcknowledgeJob 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 AcknowledgeThirdPartyJob 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 CreateCustomActionType operation.public CreatePipelineResult createPipeline(CreatePipelineRequest request)
AWSCodePipeline
Creates a pipeline.
createPipeline
in interface AWSCodePipeline
request
- Represents the input of a CreatePipeline
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.
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
in interface AWSCodePipeline
request
- Represents the input of a DeleteCustomActionType
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 DeletePipeline
action.public DeleteWebhookResult deleteWebhook(DeleteWebhookRequest request)
AWSCodePipeline
Deletes a previously created webhook by name. Deleting the webhook stops AWS CodePipeline from starting a pipeline every time an external event occurs. The API will return successfully when trying to delete a webhook that is already deleted. If a deleted webhook is re-created by calling PutWebhook with the same name, it will have a different URL.
deleteWebhook
in interface AWSCodePipeline
public DeregisterWebhookWithThirdPartyResult deregisterWebhookWithThirdParty(DeregisterWebhookWithThirdPartyRequest request)
AWSCodePipeline
Removes the connection between the webhook that was created by CodePipeline and the external tool with events to be detected. Currently only supported for webhooks that target an action type of GitHub.
deregisterWebhookWithThirdParty
in interface AWSCodePipeline
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 DisableStageTransition
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 EnableStageTransition
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 GetJobDetails
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 GetPipeline
action.public GetPipelineExecutionResult getPipelineExecution(GetPipelineExecutionRequest request)
AWSCodePipeline
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.
getPipelineExecution
in interface AWSCodePipeline
request
- Represents the input of a GetPipelineExecution
action.public GetPipelineStateResult getPipelineState(GetPipelineStateRequest request)
AWSCodePipeline
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
in interface AWSCodePipeline
request
- Represents the input of a GetPipelineState
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 GetThirdPartyJobDetails
action.public ListActionExecutionsResult listActionExecutions(ListActionExecutionsRequest request)
AWSCodePipeline
Lists the action executions that have occurred in a pipeline.
listActionExecutions
in interface AWSCodePipeline
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 ListActionTypes
action.public ListPipelineExecutionsResult listPipelineExecutions(ListPipelineExecutionsRequest request)
AWSCodePipeline
Gets a summary of the most recent executions for a pipeline.
listPipelineExecutions
in interface AWSCodePipeline
request
- Represents the input of a ListPipelineExecutions
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 ListPipelines
action.public ListWebhooksResult listWebhooks(ListWebhooksRequest request)
AWSCodePipeline
Gets a listing of all the webhooks in this region for this account. The output lists all webhooks and includes the webhook URL and ARN, as well the configuration for each webhook.
listWebhooks
in interface AWSCodePipeline
public PollForJobsResult pollForJobs(PollForJobsRequest request)
AWSCodePipeline
Returns information about any jobs for AWS CodePipeline to act upon. PollForJobs
is only valid for
action types with "Custom" in the owner field. If the action type contains "AWS" or "ThirdParty" in the owner
field, the PollForJobs
action returns an error.
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 PollForJobs
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 PollForThirdPartyJobs
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 PutActionRevision
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 PutApprovalResult
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 PutJobFailureResult
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 PutJobSuccessResult
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 PutThirdPartyJobFailureResult
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 PutThirdPartyJobSuccessResult
action.public PutWebhookResult putWebhook(PutWebhookRequest request)
AWSCodePipeline
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.
putWebhook
in interface AWSCodePipeline
public RegisterWebhookWithThirdPartyResult registerWebhookWithThirdParty(RegisterWebhookWithThirdPartyRequest request)
AWSCodePipeline
Configures a connection between the webhook that was created and the external tool with events to be detected.
registerWebhookWithThirdParty
in interface AWSCodePipeline
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 RetryStageExecution
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 StartPipelineExecution
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 UpdatePipeline
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.