/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace Http
{
class HttpClient;
class HttpClientFactory;
} // namespace Http
namespace Utils
{
template< typename R, typename E> class Outcome;
namespace Threading
{
class Executor;
} // namespace Threading
} // namespace Utils
namespace Auth
{
class AWSCredentials;
class AWSCredentialsProvider;
} // namespace Auth
namespace Client
{
class RetryStrategy;
} // namespace Client
namespace CodePipeline
{
namespace Model
{
class AcknowledgeJobRequest;
class AcknowledgeThirdPartyJobRequest;
class CreateCustomActionTypeRequest;
class CreatePipelineRequest;
class DeleteCustomActionTypeRequest;
class DeletePipelineRequest;
class DeleteWebhookRequest;
class DeregisterWebhookWithThirdPartyRequest;
class DisableStageTransitionRequest;
class EnableStageTransitionRequest;
class GetJobDetailsRequest;
class GetPipelineRequest;
class GetPipelineExecutionRequest;
class GetPipelineStateRequest;
class GetThirdPartyJobDetailsRequest;
class ListActionExecutionsRequest;
class ListActionTypesRequest;
class ListPipelineExecutionsRequest;
class ListPipelinesRequest;
class ListTagsForResourceRequest;
class ListWebhooksRequest;
class PollForJobsRequest;
class PollForThirdPartyJobsRequest;
class PutActionRevisionRequest;
class PutApprovalResultRequest;
class PutJobFailureResultRequest;
class PutJobSuccessResultRequest;
class PutThirdPartyJobFailureResultRequest;
class PutThirdPartyJobSuccessResultRequest;
class PutWebhookRequest;
class RegisterWebhookWithThirdPartyRequest;
class RetryStageExecutionRequest;
class StartPipelineExecutionRequest;
class StopPipelineExecutionRequest;
class TagResourceRequest;
class UntagResourceRequest;
class UpdatePipelineRequest;
typedef Aws::Utils::Outcome AcknowledgeJobOutcome;
typedef Aws::Utils::Outcome AcknowledgeThirdPartyJobOutcome;
typedef Aws::Utils::Outcome CreateCustomActionTypeOutcome;
typedef Aws::Utils::Outcome CreatePipelineOutcome;
typedef Aws::Utils::Outcome DeleteCustomActionTypeOutcome;
typedef Aws::Utils::Outcome DeletePipelineOutcome;
typedef Aws::Utils::Outcome DeleteWebhookOutcome;
typedef Aws::Utils::Outcome DeregisterWebhookWithThirdPartyOutcome;
typedef Aws::Utils::Outcome DisableStageTransitionOutcome;
typedef Aws::Utils::Outcome EnableStageTransitionOutcome;
typedef Aws::Utils::Outcome GetJobDetailsOutcome;
typedef Aws::Utils::Outcome GetPipelineOutcome;
typedef Aws::Utils::Outcome GetPipelineExecutionOutcome;
typedef Aws::Utils::Outcome GetPipelineStateOutcome;
typedef Aws::Utils::Outcome GetThirdPartyJobDetailsOutcome;
typedef Aws::Utils::Outcome ListActionExecutionsOutcome;
typedef Aws::Utils::Outcome ListActionTypesOutcome;
typedef Aws::Utils::Outcome ListPipelineExecutionsOutcome;
typedef Aws::Utils::Outcome ListPipelinesOutcome;
typedef Aws::Utils::Outcome ListTagsForResourceOutcome;
typedef Aws::Utils::Outcome ListWebhooksOutcome;
typedef Aws::Utils::Outcome PollForJobsOutcome;
typedef Aws::Utils::Outcome PollForThirdPartyJobsOutcome;
typedef Aws::Utils::Outcome PutActionRevisionOutcome;
typedef Aws::Utils::Outcome PutApprovalResultOutcome;
typedef Aws::Utils::Outcome PutJobFailureResultOutcome;
typedef Aws::Utils::Outcome PutJobSuccessResultOutcome;
typedef Aws::Utils::Outcome PutThirdPartyJobFailureResultOutcome;
typedef Aws::Utils::Outcome PutThirdPartyJobSuccessResultOutcome;
typedef Aws::Utils::Outcome PutWebhookOutcome;
typedef Aws::Utils::Outcome RegisterWebhookWithThirdPartyOutcome;
typedef Aws::Utils::Outcome RetryStageExecutionOutcome;
typedef Aws::Utils::Outcome StartPipelineExecutionOutcome;
typedef Aws::Utils::Outcome StopPipelineExecutionOutcome;
typedef Aws::Utils::Outcome TagResourceOutcome;
typedef Aws::Utils::Outcome UntagResourceOutcome;
typedef Aws::Utils::Outcome UpdatePipelineOutcome;
typedef std::future AcknowledgeJobOutcomeCallable;
typedef std::future AcknowledgeThirdPartyJobOutcomeCallable;
typedef std::future CreateCustomActionTypeOutcomeCallable;
typedef std::future CreatePipelineOutcomeCallable;
typedef std::future DeleteCustomActionTypeOutcomeCallable;
typedef std::future DeletePipelineOutcomeCallable;
typedef std::future DeleteWebhookOutcomeCallable;
typedef std::future DeregisterWebhookWithThirdPartyOutcomeCallable;
typedef std::future DisableStageTransitionOutcomeCallable;
typedef std::future EnableStageTransitionOutcomeCallable;
typedef std::future GetJobDetailsOutcomeCallable;
typedef std::future GetPipelineOutcomeCallable;
typedef std::future GetPipelineExecutionOutcomeCallable;
typedef std::future GetPipelineStateOutcomeCallable;
typedef std::future GetThirdPartyJobDetailsOutcomeCallable;
typedef std::future ListActionExecutionsOutcomeCallable;
typedef std::future ListActionTypesOutcomeCallable;
typedef std::future ListPipelineExecutionsOutcomeCallable;
typedef std::future ListPipelinesOutcomeCallable;
typedef std::future ListTagsForResourceOutcomeCallable;
typedef std::future ListWebhooksOutcomeCallable;
typedef std::future PollForJobsOutcomeCallable;
typedef std::future PollForThirdPartyJobsOutcomeCallable;
typedef std::future PutActionRevisionOutcomeCallable;
typedef std::future PutApprovalResultOutcomeCallable;
typedef std::future PutJobFailureResultOutcomeCallable;
typedef std::future PutJobSuccessResultOutcomeCallable;
typedef std::future PutThirdPartyJobFailureResultOutcomeCallable;
typedef std::future PutThirdPartyJobSuccessResultOutcomeCallable;
typedef std::future PutWebhookOutcomeCallable;
typedef std::future RegisterWebhookWithThirdPartyOutcomeCallable;
typedef std::future RetryStageExecutionOutcomeCallable;
typedef std::future StartPipelineExecutionOutcomeCallable;
typedef std::future StopPipelineExecutionOutcomeCallable;
typedef std::future TagResourceOutcomeCallable;
typedef std::future UntagResourceOutcomeCallable;
typedef std::future UpdatePipelineOutcomeCallable;
} // namespace Model
class CodePipelineClient;
typedef std::function&) > AcknowledgeJobResponseReceivedHandler;
typedef std::function&) > AcknowledgeThirdPartyJobResponseReceivedHandler;
typedef std::function&) > CreateCustomActionTypeResponseReceivedHandler;
typedef std::function&) > CreatePipelineResponseReceivedHandler;
typedef std::function&) > DeleteCustomActionTypeResponseReceivedHandler;
typedef std::function&) > DeletePipelineResponseReceivedHandler;
typedef std::function&) > DeleteWebhookResponseReceivedHandler;
typedef std::function&) > DeregisterWebhookWithThirdPartyResponseReceivedHandler;
typedef std::function&) > DisableStageTransitionResponseReceivedHandler;
typedef std::function&) > EnableStageTransitionResponseReceivedHandler;
typedef std::function&) > GetJobDetailsResponseReceivedHandler;
typedef std::function&) > GetPipelineResponseReceivedHandler;
typedef std::function&) > GetPipelineExecutionResponseReceivedHandler;
typedef std::function&) > GetPipelineStateResponseReceivedHandler;
typedef std::function&) > GetThirdPartyJobDetailsResponseReceivedHandler;
typedef std::function&) > ListActionExecutionsResponseReceivedHandler;
typedef std::function&) > ListActionTypesResponseReceivedHandler;
typedef std::function&) > ListPipelineExecutionsResponseReceivedHandler;
typedef std::function&) > ListPipelinesResponseReceivedHandler;
typedef std::function&) > ListTagsForResourceResponseReceivedHandler;
typedef std::function&) > ListWebhooksResponseReceivedHandler;
typedef std::function&) > PollForJobsResponseReceivedHandler;
typedef std::function&) > PollForThirdPartyJobsResponseReceivedHandler;
typedef std::function&) > PutActionRevisionResponseReceivedHandler;
typedef std::function&) > PutApprovalResultResponseReceivedHandler;
typedef std::function&) > PutJobFailureResultResponseReceivedHandler;
typedef std::function&) > PutJobSuccessResultResponseReceivedHandler;
typedef std::function&) > PutThirdPartyJobFailureResultResponseReceivedHandler;
typedef std::function&) > PutThirdPartyJobSuccessResultResponseReceivedHandler;
typedef std::function&) > PutWebhookResponseReceivedHandler;
typedef std::function&) > RegisterWebhookWithThirdPartyResponseReceivedHandler;
typedef std::function&) > RetryStageExecutionResponseReceivedHandler;
typedef std::function&) > StartPipelineExecutionResponseReceivedHandler;
typedef std::function&) > StopPipelineExecutionResponseReceivedHandler;
typedef std::function&) > TagResourceResponseReceivedHandler;
typedef std::function&) > UntagResourceResponseReceivedHandler;
typedef std::function&) > UpdatePipelineResponseReceivedHandler;
/**
* 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:
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:
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:
*/
class AWS_CODEPIPELINE_API CodePipelineClient : public Aws::Client::AWSJsonClient
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
CodePipelineClient(const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
CodePipelineClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
CodePipelineClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
virtual ~CodePipelineClient();
/**
* Returns information about a specified job and whether that job has been
* received by the job worker. Used for custom actions only.
See
* Also:
AWS
* API Reference
*/
virtual Model::AcknowledgeJobOutcome AcknowledgeJob(const Model::AcknowledgeJobRequest& request) const;
/**
* Returns information about a specified job and whether that job has been
* received by the job worker. Used for custom actions only.
See
* Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::AcknowledgeJobOutcomeCallable AcknowledgeJobCallable(const Model::AcknowledgeJobRequest& request) const;
/**
* Returns information about a specified job and whether that job has been
* received by the job worker. Used for custom actions only.
See
* Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void AcknowledgeJobAsync(const Model::AcknowledgeJobRequest& request, const AcknowledgeJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Confirms a job worker has received the specified job. Used for partner
* actions only.
See Also:
AWS
* API Reference
*/
virtual Model::AcknowledgeThirdPartyJobOutcome AcknowledgeThirdPartyJob(const Model::AcknowledgeThirdPartyJobRequest& request) const;
/**
* Confirms a job worker has received the specified job. Used for partner
* actions only.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::AcknowledgeThirdPartyJobOutcomeCallable AcknowledgeThirdPartyJobCallable(const Model::AcknowledgeThirdPartyJobRequest& request) const;
/**
* Confirms a job worker has received the specified job. Used for partner
* actions only.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void AcknowledgeThirdPartyJobAsync(const Model::AcknowledgeThirdPartyJobRequest& request, const AcknowledgeThirdPartyJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Creates a new custom action that can be used in all pipelines associated with
* the AWS account. Only used for custom actions.
See Also:
AWS
* API Reference
*/
virtual Model::CreateCustomActionTypeOutcome CreateCustomActionType(const Model::CreateCustomActionTypeRequest& request) const;
/**
* Creates a new custom action that can be used in all pipelines associated with
* the AWS account. Only used for custom actions.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::CreateCustomActionTypeOutcomeCallable CreateCustomActionTypeCallable(const Model::CreateCustomActionTypeRequest& request) const;
/**
* Creates a new custom action that can be used in all pipelines associated with
* the AWS account. Only used for custom actions.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void CreateCustomActionTypeAsync(const Model::CreateCustomActionTypeRequest& request, const CreateCustomActionTypeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See
* Also:
AWS
* API Reference
*/
virtual Model::CreatePipelineOutcome CreatePipeline(const Model::CreatePipelineRequest& request) const;
/**
* 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.
See
* Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::CreatePipelineOutcomeCallable CreatePipelineCallable(const Model::CreatePipelineRequest& request) const;
/**
* 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.
See
* Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void CreatePipelineAsync(const Model::CreatePipelineRequest& request, const CreatePipelineResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See
* Also:
AWS
* API Reference
*/
virtual Model::DeleteCustomActionTypeOutcome DeleteCustomActionType(const Model::DeleteCustomActionTypeRequest& request) const;
/**
* 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.
See
* Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DeleteCustomActionTypeOutcomeCallable DeleteCustomActionTypeCallable(const Model::DeleteCustomActionTypeRequest& request) const;
/**
* 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.
See
* Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DeleteCustomActionTypeAsync(const Model::DeleteCustomActionTypeRequest& request, const DeleteCustomActionTypeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Deletes the specified pipeline.
See Also:
AWS
* API Reference
*/
virtual Model::DeletePipelineOutcome DeletePipeline(const Model::DeletePipelineRequest& request) const;
/**
* Deletes the specified pipeline.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DeletePipelineOutcomeCallable DeletePipelineCallable(const Model::DeletePipelineRequest& request) const;
/**
* Deletes the specified pipeline.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DeletePipelineAsync(const Model::DeletePipelineRequest& request, const DeletePipelineResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteWebhookOutcome DeleteWebhook(const Model::DeleteWebhookRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DeleteWebhookOutcomeCallable DeleteWebhookCallable(const Model::DeleteWebhookRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DeleteWebhookAsync(const Model::DeleteWebhookRequest& request, const DeleteWebhookResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::DeregisterWebhookWithThirdPartyOutcome DeregisterWebhookWithThirdParty(const Model::DeregisterWebhookWithThirdPartyRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DeregisterWebhookWithThirdPartyOutcomeCallable DeregisterWebhookWithThirdPartyCallable(const Model::DeregisterWebhookWithThirdPartyRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DeregisterWebhookWithThirdPartyAsync(const Model::DeregisterWebhookWithThirdPartyRequest& request, const DeregisterWebhookWithThirdPartyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Prevents artifacts in a pipeline from transitioning to the next stage in the
* pipeline.
See Also:
AWS
* API Reference
*/
virtual Model::DisableStageTransitionOutcome DisableStageTransition(const Model::DisableStageTransitionRequest& request) const;
/**
* Prevents artifacts in a pipeline from transitioning to the next stage in the
* pipeline.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DisableStageTransitionOutcomeCallable DisableStageTransitionCallable(const Model::DisableStageTransitionRequest& request) const;
/**
* Prevents artifacts in a pipeline from transitioning to the next stage in the
* pipeline.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DisableStageTransitionAsync(const Model::DisableStageTransitionRequest& request, const DisableStageTransitionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Enables artifacts in a pipeline to transition to a stage in a
* pipeline.
See Also:
AWS
* API Reference
*/
virtual Model::EnableStageTransitionOutcome EnableStageTransition(const Model::EnableStageTransitionRequest& request) const;
/**
* Enables artifacts in a pipeline to transition to a stage in a
* pipeline.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::EnableStageTransitionOutcomeCallable EnableStageTransitionCallable(const Model::EnableStageTransitionRequest& request) const;
/**
* Enables artifacts in a pipeline to transition to a stage in a
* pipeline.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void EnableStageTransitionAsync(const Model::EnableStageTransitionRequest& request, const EnableStageTransitionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
* See Also:
AWS
* API Reference
*/
virtual Model::GetJobDetailsOutcome GetJobDetails(const Model::GetJobDetailsRequest& request) const;
/**
* 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.
* See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::GetJobDetailsOutcomeCallable GetJobDetailsCallable(const Model::GetJobDetailsRequest& request) const;
/**
* 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.
* See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void GetJobDetailsAsync(const Model::GetJobDetailsRequest& request, const GetJobDetailsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::GetPipelineOutcome GetPipeline(const Model::GetPipelineRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::GetPipelineOutcomeCallable GetPipelineCallable(const Model::GetPipelineRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void GetPipelineAsync(const Model::GetPipelineRequest& request, const GetPipelineResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::GetPipelineExecutionOutcome GetPipelineExecution(const Model::GetPipelineExecutionRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::GetPipelineExecutionOutcomeCallable GetPipelineExecutionCallable(const Model::GetPipelineExecutionRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void GetPipelineExecutionAsync(const Model::GetPipelineExecutionRequest& request, const GetPipelineExecutionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::GetPipelineStateOutcome GetPipelineState(const Model::GetPipelineStateRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::GetPipelineStateOutcomeCallable GetPipelineStateCallable(const Model::GetPipelineStateRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void GetPipelineStateAsync(const Model::GetPipelineStateRequest& request, const GetPipelineStateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
* See Also:
AWS
* API Reference
*/
virtual Model::GetThirdPartyJobDetailsOutcome GetThirdPartyJobDetails(const Model::GetThirdPartyJobDetailsRequest& request) const;
/**
* 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.
* See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::GetThirdPartyJobDetailsOutcomeCallable GetThirdPartyJobDetailsCallable(const Model::GetThirdPartyJobDetailsRequest& request) const;
/**
* 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.
* See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void GetThirdPartyJobDetailsAsync(const Model::GetThirdPartyJobDetailsRequest& request, const GetThirdPartyJobDetailsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Lists the action executions that have occurred in a pipeline.
See
* Also:
AWS
* API Reference
*/
virtual Model::ListActionExecutionsOutcome ListActionExecutions(const Model::ListActionExecutionsRequest& request) const;
/**
* Lists the action executions that have occurred in a pipeline.
See
* Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListActionExecutionsOutcomeCallable ListActionExecutionsCallable(const Model::ListActionExecutionsRequest& request) const;
/**
* Lists the action executions that have occurred in a pipeline.
See
* Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListActionExecutionsAsync(const Model::ListActionExecutionsRequest& request, const ListActionExecutionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Gets a summary of all AWS CodePipeline action types associated with your
* account.
See Also:
AWS
* API Reference
*/
virtual Model::ListActionTypesOutcome ListActionTypes(const Model::ListActionTypesRequest& request) const;
/**
* Gets a summary of all AWS CodePipeline action types associated with your
* account.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListActionTypesOutcomeCallable ListActionTypesCallable(const Model::ListActionTypesRequest& request) const;
/**
* Gets a summary of all AWS CodePipeline action types associated with your
* account.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListActionTypesAsync(const Model::ListActionTypesRequest& request, const ListActionTypesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Gets a summary of the most recent executions for a pipeline.
See
* Also:
AWS
* API Reference
*/
virtual Model::ListPipelineExecutionsOutcome ListPipelineExecutions(const Model::ListPipelineExecutionsRequest& request) const;
/**
* Gets a summary of the most recent executions for a pipeline.
See
* Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListPipelineExecutionsOutcomeCallable ListPipelineExecutionsCallable(const Model::ListPipelineExecutionsRequest& request) const;
/**
* Gets a summary of the most recent executions for a pipeline.
See
* Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListPipelineExecutionsAsync(const Model::ListPipelineExecutionsRequest& request, const ListPipelineExecutionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Gets a summary of all of the pipelines associated with your
* account.
See Also:
AWS
* API Reference
*/
virtual Model::ListPipelinesOutcome ListPipelines(const Model::ListPipelinesRequest& request) const;
/**
* Gets a summary of all of the pipelines associated with your
* account.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListPipelinesOutcomeCallable ListPipelinesCallable(const Model::ListPipelinesRequest& request) const;
/**
* Gets a summary of all of the pipelines associated with your
* account.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListPipelinesAsync(const Model::ListPipelinesRequest& request, const ListPipelinesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Gets the set of key-value pairs (metadata) that are used to manage the
* resource.
See Also:
AWS
* API Reference
*/
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const;
/**
* Gets the set of key-value pairs (metadata) that are used to manage the
* resource.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const Model::ListTagsForResourceRequest& request) const;
/**
* Gets the set of key-value pairs (metadata) that are used to manage the
* resource.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListTagsForResourceAsync(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::ListWebhooksOutcome ListWebhooks(const Model::ListWebhooksRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListWebhooksOutcomeCallable ListWebhooksCallable(const Model::ListWebhooksRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListWebhooksAsync(const Model::ListWebhooksRequest& request, const ListWebhooksResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
* AWS
* API Reference
*/
virtual Model::PollForJobsOutcome PollForJobs(const Model::PollForJobsRequest& request) const;
/**
* 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.
See Also:
* AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::PollForJobsOutcomeCallable PollForJobsCallable(const Model::PollForJobsRequest& request) const;
/**
* 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.
See Also:
* AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void PollForJobsAsync(const Model::PollForJobsRequest& request, const PollForJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::PollForThirdPartyJobsOutcome PollForThirdPartyJobs(const Model::PollForThirdPartyJobsRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::PollForThirdPartyJobsOutcomeCallable PollForThirdPartyJobsCallable(const Model::PollForThirdPartyJobsRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void PollForThirdPartyJobsAsync(const Model::PollForThirdPartyJobsRequest& request, const PollForThirdPartyJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Provides information to AWS CodePipeline about new revisions to a
* source.
See Also:
AWS
* API Reference
*/
virtual Model::PutActionRevisionOutcome PutActionRevision(const Model::PutActionRevisionRequest& request) const;
/**
* Provides information to AWS CodePipeline about new revisions to a
* source.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::PutActionRevisionOutcomeCallable PutActionRevisionCallable(const Model::PutActionRevisionRequest& request) const;
/**
* Provides information to AWS CodePipeline about new revisions to a
* source.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void PutActionRevisionAsync(const Model::PutActionRevisionRequest& request, const PutActionRevisionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Provides the response to a manual approval request to AWS CodePipeline. Valid
* responses include Approved and Rejected.
See Also:
AWS
* API Reference
*/
virtual Model::PutApprovalResultOutcome PutApprovalResult(const Model::PutApprovalResultRequest& request) const;
/**
* Provides the response to a manual approval request to AWS CodePipeline. Valid
* responses include Approved and Rejected.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::PutApprovalResultOutcomeCallable PutApprovalResultCallable(const Model::PutApprovalResultRequest& request) const;
/**
* Provides the response to a manual approval request to AWS CodePipeline. Valid
* responses include Approved and Rejected.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void PutApprovalResultAsync(const Model::PutApprovalResultRequest& request, const PutApprovalResultResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Represents the failure of a job as returned to the pipeline by a job worker.
* Used for custom actions only.
See Also:
AWS
* API Reference
*/
virtual Model::PutJobFailureResultOutcome PutJobFailureResult(const Model::PutJobFailureResultRequest& request) const;
/**
* Represents the failure of a job as returned to the pipeline by a job worker.
* Used for custom actions only.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::PutJobFailureResultOutcomeCallable PutJobFailureResultCallable(const Model::PutJobFailureResultRequest& request) const;
/**
* Represents the failure of a job as returned to the pipeline by a job worker.
* Used for custom actions only.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void PutJobFailureResultAsync(const Model::PutJobFailureResultRequest& request, const PutJobFailureResultResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Represents the success of a job as returned to the pipeline by a job worker.
* Used for custom actions only.
See Also:
AWS
* API Reference
*/
virtual Model::PutJobSuccessResultOutcome PutJobSuccessResult(const Model::PutJobSuccessResultRequest& request) const;
/**
* Represents the success of a job as returned to the pipeline by a job worker.
* Used for custom actions only.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::PutJobSuccessResultOutcomeCallable PutJobSuccessResultCallable(const Model::PutJobSuccessResultRequest& request) const;
/**
* Represents the success of a job as returned to the pipeline by a job worker.
* Used for custom actions only.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void PutJobSuccessResultAsync(const Model::PutJobSuccessResultRequest& request, const PutJobSuccessResultResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Represents the failure of a third party job as returned to the pipeline by a
* job worker. Used for partner actions only.
See Also:
AWS
* API Reference
*/
virtual Model::PutThirdPartyJobFailureResultOutcome PutThirdPartyJobFailureResult(const Model::PutThirdPartyJobFailureResultRequest& request) const;
/**
* Represents the failure of a third party job as returned to the pipeline by a
* job worker. Used for partner actions only.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::PutThirdPartyJobFailureResultOutcomeCallable PutThirdPartyJobFailureResultCallable(const Model::PutThirdPartyJobFailureResultRequest& request) const;
/**
* Represents the failure of a third party job as returned to the pipeline by a
* job worker. Used for partner actions only.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void PutThirdPartyJobFailureResultAsync(const Model::PutThirdPartyJobFailureResultRequest& request, const PutThirdPartyJobFailureResultResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Represents the success of a third party job as returned to the pipeline by a
* job worker. Used for partner actions only.
See Also:
AWS
* API Reference
*/
virtual Model::PutThirdPartyJobSuccessResultOutcome PutThirdPartyJobSuccessResult(const Model::PutThirdPartyJobSuccessResultRequest& request) const;
/**
* Represents the success of a third party job as returned to the pipeline by a
* job worker. Used for partner actions only.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::PutThirdPartyJobSuccessResultOutcomeCallable PutThirdPartyJobSuccessResultCallable(const Model::PutThirdPartyJobSuccessResultRequest& request) const;
/**
* Represents the success of a third party job as returned to the pipeline by a
* job worker. Used for partner actions only.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void PutThirdPartyJobSuccessResultAsync(const Model::PutThirdPartyJobSuccessResultRequest& request, const PutThirdPartyJobSuccessResultResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::PutWebhookOutcome PutWebhook(const Model::PutWebhookRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::PutWebhookOutcomeCallable PutWebhookCallable(const Model::PutWebhookRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void PutWebhookAsync(const Model::PutWebhookRequest& request, const PutWebhookResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Configures a connection between the webhook that was created and the external
* tool with events to be detected.
See Also:
AWS
* API Reference
*/
virtual Model::RegisterWebhookWithThirdPartyOutcome RegisterWebhookWithThirdParty(const Model::RegisterWebhookWithThirdPartyRequest& request) const;
/**
* Configures a connection between the webhook that was created and the external
* tool with events to be detected.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::RegisterWebhookWithThirdPartyOutcomeCallable RegisterWebhookWithThirdPartyCallable(const Model::RegisterWebhookWithThirdPartyRequest& request) const;
/**
* Configures a connection between the webhook that was created and the external
* tool with events to be detected.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void RegisterWebhookWithThirdPartyAsync(const Model::RegisterWebhookWithThirdPartyRequest& request, const RegisterWebhookWithThirdPartyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::RetryStageExecutionOutcome RetryStageExecution(const Model::RetryStageExecutionRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::RetryStageExecutionOutcomeCallable RetryStageExecutionCallable(const Model::RetryStageExecutionRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void RetryStageExecutionAsync(const Model::RetryStageExecutionRequest& request, const RetryStageExecutionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Starts the specified pipeline. Specifically, it begins processing the latest
* commit to the source location specified as part of the pipeline.
See
* Also:
AWS
* API Reference
*/
virtual Model::StartPipelineExecutionOutcome StartPipelineExecution(const Model::StartPipelineExecutionRequest& request) const;
/**
* Starts the specified pipeline. Specifically, it begins processing the latest
* commit to the source location specified as part of the pipeline.
See
* Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::StartPipelineExecutionOutcomeCallable StartPipelineExecutionCallable(const Model::StartPipelineExecutionRequest& request) const;
/**
* Starts the specified pipeline. Specifically, it begins processing the latest
* commit to the source location specified as part of the pipeline.
See
* Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void StartPipelineExecutionAsync(const Model::StartPipelineExecutionRequest& request, const StartPipelineExecutionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::StopPipelineExecutionOutcome StopPipelineExecution(const Model::StopPipelineExecutionRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::StopPipelineExecutionOutcomeCallable StopPipelineExecutionCallable(const Model::StopPipelineExecutionRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void StopPipelineExecutionAsync(const Model::StopPipelineExecutionRequest& request, const StopPipelineExecutionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Adds to or modifies the tags of the given resource. Tags are metadata that
* can be used to manage a resource.
See Also:
AWS
* API Reference
*/
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const;
/**
* Adds to or modifies the tags of the given resource. Tags are metadata that
* can be used to manage a resource.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::TagResourceOutcomeCallable TagResourceCallable(const Model::TagResourceRequest& request) const;
/**
* Adds to or modifies the tags of the given resource. Tags are metadata that
* can be used to manage a resource.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void TagResourceAsync(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* Removes tags from an AWS resource.
See Also:
AWS
* API Reference
*/
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const;
/**
* Removes tags from an AWS resource.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UntagResourceOutcomeCallable UntagResourceCallable(const Model::UntagResourceRequest& request) const;
/**
* Removes tags from an AWS resource.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UntagResourceAsync(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::UpdatePipelineOutcome UpdatePipeline(const Model::UpdatePipelineRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UpdatePipelineOutcomeCallable UpdatePipelineCallable(const Model::UpdatePipelineRequest& request) const;
/**
* 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.
See Also:
AWS
* API Reference
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UpdatePipelineAsync(const Model::UpdatePipelineRequest& request, const UpdatePipelineResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const;
void OverrideEndpoint(const Aws::String& endpoint);
private:
void init(const Aws::Client::ClientConfiguration& clientConfiguration);
void AcknowledgeJobAsyncHelper(const Model::AcknowledgeJobRequest& request, const AcknowledgeJobResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void AcknowledgeThirdPartyJobAsyncHelper(const Model::AcknowledgeThirdPartyJobRequest& request, const AcknowledgeThirdPartyJobResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void CreateCustomActionTypeAsyncHelper(const Model::CreateCustomActionTypeRequest& request, const CreateCustomActionTypeResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void CreatePipelineAsyncHelper(const Model::CreatePipelineRequest& request, const CreatePipelineResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void DeleteCustomActionTypeAsyncHelper(const Model::DeleteCustomActionTypeRequest& request, const DeleteCustomActionTypeResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void DeletePipelineAsyncHelper(const Model::DeletePipelineRequest& request, const DeletePipelineResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void DeleteWebhookAsyncHelper(const Model::DeleteWebhookRequest& request, const DeleteWebhookResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void DeregisterWebhookWithThirdPartyAsyncHelper(const Model::DeregisterWebhookWithThirdPartyRequest& request, const DeregisterWebhookWithThirdPartyResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void DisableStageTransitionAsyncHelper(const Model::DisableStageTransitionRequest& request, const DisableStageTransitionResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void EnableStageTransitionAsyncHelper(const Model::EnableStageTransitionRequest& request, const EnableStageTransitionResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void GetJobDetailsAsyncHelper(const Model::GetJobDetailsRequest& request, const GetJobDetailsResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void GetPipelineAsyncHelper(const Model::GetPipelineRequest& request, const GetPipelineResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void GetPipelineExecutionAsyncHelper(const Model::GetPipelineExecutionRequest& request, const GetPipelineExecutionResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void GetPipelineStateAsyncHelper(const Model::GetPipelineStateRequest& request, const GetPipelineStateResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void GetThirdPartyJobDetailsAsyncHelper(const Model::GetThirdPartyJobDetailsRequest& request, const GetThirdPartyJobDetailsResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListActionExecutionsAsyncHelper(const Model::ListActionExecutionsRequest& request, const ListActionExecutionsResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListActionTypesAsyncHelper(const Model::ListActionTypesRequest& request, const ListActionTypesResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListPipelineExecutionsAsyncHelper(const Model::ListPipelineExecutionsRequest& request, const ListPipelineExecutionsResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListPipelinesAsyncHelper(const Model::ListPipelinesRequest& request, const ListPipelinesResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListTagsForResourceAsyncHelper(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void ListWebhooksAsyncHelper(const Model::ListWebhooksRequest& request, const ListWebhooksResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void PollForJobsAsyncHelper(const Model::PollForJobsRequest& request, const PollForJobsResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void PollForThirdPartyJobsAsyncHelper(const Model::PollForThirdPartyJobsRequest& request, const PollForThirdPartyJobsResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void PutActionRevisionAsyncHelper(const Model::PutActionRevisionRequest& request, const PutActionRevisionResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void PutApprovalResultAsyncHelper(const Model::PutApprovalResultRequest& request, const PutApprovalResultResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void PutJobFailureResultAsyncHelper(const Model::PutJobFailureResultRequest& request, const PutJobFailureResultResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void PutJobSuccessResultAsyncHelper(const Model::PutJobSuccessResultRequest& request, const PutJobSuccessResultResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void PutThirdPartyJobFailureResultAsyncHelper(const Model::PutThirdPartyJobFailureResultRequest& request, const PutThirdPartyJobFailureResultResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void PutThirdPartyJobSuccessResultAsyncHelper(const Model::PutThirdPartyJobSuccessResultRequest& request, const PutThirdPartyJobSuccessResultResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void PutWebhookAsyncHelper(const Model::PutWebhookRequest& request, const PutWebhookResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void RegisterWebhookWithThirdPartyAsyncHelper(const Model::RegisterWebhookWithThirdPartyRequest& request, const RegisterWebhookWithThirdPartyResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void RetryStageExecutionAsyncHelper(const Model::RetryStageExecutionRequest& request, const RetryStageExecutionResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void StartPipelineExecutionAsyncHelper(const Model::StartPipelineExecutionRequest& request, const StartPipelineExecutionResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void StopPipelineExecutionAsyncHelper(const Model::StopPipelineExecutionRequest& request, const StopPipelineExecutionResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void TagResourceAsyncHelper(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void UntagResourceAsyncHelper(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context) const;
void UpdatePipelineAsyncHelper(const Model::UpdatePipelineRequest& request, const UpdatePipelineResponseReceivedHandler& handler, const std::shared_ptr& context) const;
Aws::String m_uri;
Aws::String m_configScheme;
std::shared_ptr m_executor;
};
} // namespace CodePipeline
} // namespace Aws