/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the codepipeline-2015-07-09.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.CodePipeline.Model; using Amazon.CodePipeline.Model.Internal.MarshallTransformations; using Amazon.CodePipeline.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.CodePipeline { /// /// Implementation for accessing CodePipeline /// /// CodePipeline /// /// Overview /// /// /// /// This is the CodePipeline API Reference. This guide provides descriptions of the actions /// and data types for CodePipeline. Some functionality for your pipeline can only be /// configured through the API. For more information, see the CodePipeline /// User Guide. /// /// /// /// You can use the CodePipeline API to work with pipelines, stages, actions, and transitions. /// /// /// /// Pipelines are models of automated release processes. Each pipeline is uniquely /// named, and consists of stages, actions, and transitions. /// /// /// /// You can work with pipelines by calling: /// /// /// /// Pipelines include stages. Each stage contains one or more actions that must /// complete before the next stage begins. A stage results in success or failure. If a /// stage fails, the pipeline stops at that stage and remains stopped until either a new /// version of an artifact appears in the source location, or a user takes action to rerun /// the most recent artifact through the pipeline. You can call GetPipelineState, /// which displays the status of a pipeline, including the status of stages in the pipeline, /// or GetPipeline, which returns the entire structure of the pipeline, including /// the stages of that pipeline. For more information about the structure of stages and /// actions, see CodePipeline /// Pipeline Structure Reference. /// /// /// /// Pipeline stages include actions that are categorized into categories such as /// source or build actions performed in a stage of a pipeline. For example, you can use /// a source action to import artifacts into a pipeline from a source such as Amazon S3. /// Like stages, you do not work with actions directly in most cases, but you do define /// and interact with actions when working with pipeline operations such as CreatePipeline /// and GetPipelineState. Valid action categories are: /// /// /// /// 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 CodePipeline /// /// /// /// For third-party integrators or developers who want to create their own integrations /// with CodePipeline, the expected sequence varies from the standard API user. To integrate /// with CodePipeline, developers need to work with the following items: /// /// /// /// Jobs, which are instances of an action. For example, a job for a source action /// might import a revision of an artifact from a source. /// /// /// /// You can work with jobs by calling: /// /// /// /// Third party jobs, which are instances of an action created by a partner action /// and integrated into CodePipeline. Partner actions are created by members of the Amazon /// Web Services Partner Network. /// /// /// /// You can work with third party jobs by calling: /// /// /// public partial class AmazonCodePipelineClient : AmazonServiceClient, IAmazonCodePipeline { private static IServiceMetadata serviceMetadata = new AmazonCodePipelineMetadata(); private ICodePipelinePaginatorFactory _paginators; /// /// Paginators for the service /// public ICodePipelinePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new CodePipelinePaginatorFactory(this); } return this._paginators; } } #region Constructors /// /// Constructs AmazonCodePipelineClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonCodePipelineClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCodePipelineConfig()) { } /// /// Constructs AmazonCodePipelineClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonCodePipelineClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCodePipelineConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodePipelineClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonCodePipelineClient Configuration Object public AmazonCodePipelineClient(AmazonCodePipelineConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonCodePipelineClient with AWS Credentials /// /// AWS Credentials public AmazonCodePipelineClient(AWSCredentials credentials) : this(credentials, new AmazonCodePipelineConfig()) { } /// /// Constructs AmazonCodePipelineClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonCodePipelineClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonCodePipelineConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodePipelineClient with AWS Credentials and an /// AmazonCodePipelineClient Configuration object. /// /// AWS Credentials /// The AmazonCodePipelineClient Configuration Object public AmazonCodePipelineClient(AWSCredentials credentials, AmazonCodePipelineConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonCodePipelineClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonCodePipelineClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCodePipelineConfig()) { } /// /// Constructs AmazonCodePipelineClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonCodePipelineClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCodePipelineConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonCodePipelineClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCodePipelineClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonCodePipelineClient Configuration Object public AmazonCodePipelineClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCodePipelineConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonCodePipelineClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonCodePipelineClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCodePipelineConfig()) { } /// /// Constructs AmazonCodePipelineClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonCodePipelineClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCodePipelineConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodePipelineClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCodePipelineClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonCodePipelineClient Configuration Object public AmazonCodePipelineClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCodePipelineConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonCodePipelineEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AcknowledgeJob /// /// Returns information about a specified job and whether that job has been received by /// the job worker. Used for custom actions only. /// /// The unique system-generated ID of the job for which you want to confirm receipt. /// A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker. Get this number from the response of the PollForJobs request that returned this job. /// /// The response from the AcknowledgeJob service method, as returned by CodePipeline. /// /// The nonce was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for AcknowledgeJob Operation public virtual AcknowledgeJobResponse AcknowledgeJob(string jobId, string nonce) { var request = new AcknowledgeJobRequest(); request.JobId = jobId; request.Nonce = nonce; return AcknowledgeJob(request); } /// /// Returns information about a specified job and whether that job has been received by /// the job worker. Used for custom actions only. /// /// Container for the necessary parameters to execute the AcknowledgeJob service method. /// /// The response from the AcknowledgeJob service method, as returned by CodePipeline. /// /// The nonce was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for AcknowledgeJob Operation public virtual AcknowledgeJobResponse AcknowledgeJob(AcknowledgeJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcknowledgeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = AcknowledgeJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a specified job and whether that job has been received by /// the job worker. Used for custom actions only. /// /// The unique system-generated ID of the job for which you want to confirm receipt. /// A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker. Get this number from the response of the PollForJobs request that returned this job. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcknowledgeJob service method, as returned by CodePipeline. /// /// The nonce was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for AcknowledgeJob Operation public virtual Task AcknowledgeJobAsync(string jobId, string nonce, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new AcknowledgeJobRequest(); request.JobId = jobId; request.Nonce = nonce; return AcknowledgeJobAsync(request, cancellationToken); } /// /// Returns information about a specified job and whether that job has been received by /// the job worker. Used for custom actions only. /// /// Container for the necessary parameters to execute the AcknowledgeJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcknowledgeJob service method, as returned by CodePipeline. /// /// The nonce was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for AcknowledgeJob Operation public virtual Task AcknowledgeJobAsync(AcknowledgeJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcknowledgeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = AcknowledgeJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AcknowledgeThirdPartyJob /// /// Confirms a job worker has received the specified job. Used for partner actions only. /// /// The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details. /// The unique system-generated ID of the job. /// A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker. Get this number from the response to a GetThirdPartyJobDetails request. /// /// The response from the AcknowledgeThirdPartyJob service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The nonce was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for AcknowledgeThirdPartyJob Operation public virtual AcknowledgeThirdPartyJobResponse AcknowledgeThirdPartyJob(string clientToken, string jobId, string nonce) { var request = new AcknowledgeThirdPartyJobRequest(); request.ClientToken = clientToken; request.JobId = jobId; request.Nonce = nonce; return AcknowledgeThirdPartyJob(request); } /// /// Confirms a job worker has received the specified job. Used for partner actions only. /// /// Container for the necessary parameters to execute the AcknowledgeThirdPartyJob service method. /// /// The response from the AcknowledgeThirdPartyJob service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The nonce was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for AcknowledgeThirdPartyJob Operation public virtual AcknowledgeThirdPartyJobResponse AcknowledgeThirdPartyJob(AcknowledgeThirdPartyJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcknowledgeThirdPartyJobRequestMarshaller.Instance; options.ResponseUnmarshaller = AcknowledgeThirdPartyJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Confirms a job worker has received the specified job. Used for partner actions only. /// /// The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details. /// The unique system-generated ID of the job. /// A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker. Get this number from the response to a GetThirdPartyJobDetails request. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcknowledgeThirdPartyJob service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The nonce was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for AcknowledgeThirdPartyJob Operation public virtual Task AcknowledgeThirdPartyJobAsync(string clientToken, string jobId, string nonce, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new AcknowledgeThirdPartyJobRequest(); request.ClientToken = clientToken; request.JobId = jobId; request.Nonce = nonce; return AcknowledgeThirdPartyJobAsync(request, cancellationToken); } /// /// Confirms a job worker has received the specified job. Used for partner actions only. /// /// Container for the necessary parameters to execute the AcknowledgeThirdPartyJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcknowledgeThirdPartyJob service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The nonce was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for AcknowledgeThirdPartyJob Operation public virtual Task AcknowledgeThirdPartyJobAsync(AcknowledgeThirdPartyJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcknowledgeThirdPartyJobRequestMarshaller.Instance; options.ResponseUnmarshaller = AcknowledgeThirdPartyJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCustomActionType /// /// Creates a new custom action that can be used in all pipelines associated with the /// Amazon Web Services account. Only used for custom actions. /// /// Container for the necessary parameters to execute the CreateCustomActionType service method. /// /// The response from the CreateCustomActionType service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The specified resource tags are invalid. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The tags limit for a resource has been exceeded. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for CreateCustomActionType Operation public virtual CreateCustomActionTypeResponse CreateCustomActionType(CreateCustomActionTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomActionTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomActionTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new custom action that can be used in all pipelines associated with the /// Amazon Web Services account. Only used for custom actions. /// /// Container for the necessary parameters to execute the CreateCustomActionType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCustomActionType service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The specified resource tags are invalid. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The tags limit for a resource has been exceeded. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for CreateCustomActionType Operation public virtual Task CreateCustomActionTypeAsync(CreateCustomActionTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomActionTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomActionTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreatePipeline /// /// 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. /// /// /// /// Represents the structure of actions and stages to be performed in the pipeline. /// /// The response from the CreatePipeline service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The action declaration was specified in an invalid format. /// /// /// Reserved for future use. /// /// /// The stage declaration was specified in an invalid format. /// /// /// The structure was specified in an invalid format. /// /// /// The specified resource tags are invalid. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The specified pipeline name is already in use. /// /// /// The tags limit for a resource has been exceeded. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for CreatePipeline Operation public virtual CreatePipelineResponse CreatePipeline(PipelineDeclaration pipeline) { var request = new CreatePipelineRequest(); request.Pipeline = pipeline; return CreatePipeline(request); } /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreatePipeline service method. /// /// The response from the CreatePipeline service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The action declaration was specified in an invalid format. /// /// /// Reserved for future use. /// /// /// The stage declaration was specified in an invalid format. /// /// /// The structure was specified in an invalid format. /// /// /// The specified resource tags are invalid. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The specified pipeline name is already in use. /// /// /// The tags limit for a resource has been exceeded. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for CreatePipeline Operation public virtual CreatePipelineResponse CreatePipeline(CreatePipelineRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePipelineRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePipelineResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// /// Represents the structure of actions and stages to be performed in the pipeline. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreatePipeline service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The action declaration was specified in an invalid format. /// /// /// Reserved for future use. /// /// /// The stage declaration was specified in an invalid format. /// /// /// The structure was specified in an invalid format. /// /// /// The specified resource tags are invalid. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The specified pipeline name is already in use. /// /// /// The tags limit for a resource has been exceeded. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for CreatePipeline Operation public virtual Task CreatePipelineAsync(PipelineDeclaration pipeline, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new CreatePipelineRequest(); request.Pipeline = pipeline; return CreatePipelineAsync(request, cancellationToken); } /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreatePipeline service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreatePipeline service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The action declaration was specified in an invalid format. /// /// /// Reserved for future use. /// /// /// The stage declaration was specified in an invalid format. /// /// /// The structure was specified in an invalid format. /// /// /// The specified resource tags are invalid. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The specified pipeline name is already in use. /// /// /// The tags limit for a resource has been exceeded. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for CreatePipeline Operation public virtual Task CreatePipelineAsync(CreatePipelineRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePipelineRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePipelineResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCustomActionType /// /// 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. /// /// /// /// Container for the necessary parameters to execute the DeleteCustomActionType service method. /// /// The response from the DeleteCustomActionType service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for DeleteCustomActionType Operation public virtual DeleteCustomActionTypeResponse DeleteCustomActionType(DeleteCustomActionTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomActionTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomActionTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// /// Container for the necessary parameters to execute the DeleteCustomActionType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCustomActionType service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for DeleteCustomActionType Operation public virtual Task DeleteCustomActionTypeAsync(DeleteCustomActionTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomActionTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomActionTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeletePipeline /// /// Deletes the specified pipeline. /// /// The name of the pipeline to be deleted. /// /// The response from the DeletePipeline service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for DeletePipeline Operation public virtual DeletePipelineResponse DeletePipeline(string name) { var request = new DeletePipelineRequest(); request.Name = name; return DeletePipeline(request); } /// /// Deletes the specified pipeline. /// /// Container for the necessary parameters to execute the DeletePipeline service method. /// /// The response from the DeletePipeline service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for DeletePipeline Operation public virtual DeletePipelineResponse DeletePipeline(DeletePipelineRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePipelineRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePipelineResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified pipeline. /// /// The name of the pipeline to be deleted. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePipeline service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for DeletePipeline Operation public virtual Task DeletePipelineAsync(string name, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new DeletePipelineRequest(); request.Name = name; return DeletePipelineAsync(request, cancellationToken); } /// /// Deletes the specified pipeline. /// /// Container for the necessary parameters to execute the DeletePipeline service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePipeline service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for DeletePipeline Operation public virtual Task DeletePipelineAsync(DeletePipelineRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePipelineRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePipelineResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteWebhook /// /// Deletes a previously created webhook by name. Deleting the webhook stops CodePipeline /// from starting a pipeline every time an external event occurs. The API returns successfully /// when trying to delete a webhook that is already deleted. If a deleted webhook is re-created /// by calling PutWebhook with the same name, it will have a different URL. /// /// Container for the necessary parameters to execute the DeleteWebhook service method. /// /// The response from the DeleteWebhook service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for DeleteWebhook Operation public virtual DeleteWebhookResponse DeleteWebhook(DeleteWebhookRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWebhookRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWebhookResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a previously created webhook by name. Deleting the webhook stops CodePipeline /// from starting a pipeline every time an external event occurs. The API returns successfully /// when trying to delete a webhook that is already deleted. If a deleted webhook is re-created /// by calling PutWebhook with the same name, it will have a different URL. /// /// Container for the necessary parameters to execute the DeleteWebhook service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteWebhook service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for DeleteWebhook Operation public virtual Task DeleteWebhookAsync(DeleteWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWebhookRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWebhookResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeregisterWebhookWithThirdParty /// /// 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. /// /// Container for the necessary parameters to execute the DeregisterWebhookWithThirdParty service method. /// /// The response from the DeregisterWebhookWithThirdParty service method, as returned by CodePipeline. /// /// The validation was specified in an invalid format. /// /// /// The specified webhook was entered in an invalid format or cannot be found. /// /// REST API Reference for DeregisterWebhookWithThirdParty Operation public virtual DeregisterWebhookWithThirdPartyResponse DeregisterWebhookWithThirdParty(DeregisterWebhookWithThirdPartyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterWebhookWithThirdPartyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterWebhookWithThirdPartyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the DeregisterWebhookWithThirdParty service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterWebhookWithThirdParty service method, as returned by CodePipeline. /// /// The validation was specified in an invalid format. /// /// /// The specified webhook was entered in an invalid format or cannot be found. /// /// REST API Reference for DeregisterWebhookWithThirdParty Operation public virtual Task DeregisterWebhookWithThirdPartyAsync(DeregisterWebhookWithThirdPartyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterWebhookWithThirdPartyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterWebhookWithThirdPartyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableStageTransition /// /// Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline. /// /// Container for the necessary parameters to execute the DisableStageTransition service method. /// /// The response from the DisableStageTransition service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The stage was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for DisableStageTransition Operation public virtual DisableStageTransitionResponse DisableStageTransition(DisableStageTransitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableStageTransitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableStageTransitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline. /// /// Container for the necessary parameters to execute the DisableStageTransition service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableStageTransition service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The stage was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for DisableStageTransition Operation public virtual Task DisableStageTransitionAsync(DisableStageTransitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableStageTransitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableStageTransitionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableStageTransition /// /// Enables artifacts in a pipeline to transition to a stage in a pipeline. /// /// Container for the necessary parameters to execute the EnableStageTransition service method. /// /// The response from the EnableStageTransition service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The stage was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for EnableStageTransition Operation public virtual EnableStageTransitionResponse EnableStageTransition(EnableStageTransitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableStageTransitionRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableStageTransitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables artifacts in a pipeline to transition to a stage in a pipeline. /// /// Container for the necessary parameters to execute the EnableStageTransition service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableStageTransition service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The stage was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for EnableStageTransition Operation public virtual Task EnableStageTransitionAsync(EnableStageTransitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableStageTransitionRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableStageTransitionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetActionType /// /// Returns information about an action type created for an external provider, where the /// action is to be used by customers of the external provider. The action can be created /// with any supported integration model. /// /// Container for the necessary parameters to execute the GetActionType service method. /// /// The response from the GetActionType service method, as returned by CodePipeline. /// /// The specified action type cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetActionType Operation public virtual GetActionTypeResponse GetActionType(GetActionTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetActionTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetActionTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about an action type created for an external provider, where the /// action is to be used by customers of the external provider. The action can be created /// with any supported integration model. /// /// Container for the necessary parameters to execute the GetActionType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetActionType service method, as returned by CodePipeline. /// /// The specified action type cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetActionType Operation public virtual Task GetActionTypeAsync(GetActionTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetActionTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetActionTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetJobDetails /// /// Returns information about a job. Used for custom actions only. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. This API also returns any secret values defined /// for the action. /// /// /// /// The unique system-generated ID for the job. /// /// The response from the GetJobDetails service method, as returned by CodePipeline. /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetJobDetails Operation public virtual GetJobDetailsResponse GetJobDetails(string jobId) { var request = new GetJobDetailsRequest(); request.JobId = jobId; return GetJobDetails(request); } /// /// Returns information about a job. Used for custom actions only. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. This API also returns any secret values defined /// for the action. /// /// /// /// Container for the necessary parameters to execute the GetJobDetails service method. /// /// The response from the GetJobDetails service method, as returned by CodePipeline. /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetJobDetails Operation public virtual GetJobDetailsResponse GetJobDetails(GetJobDetailsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetJobDetailsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetJobDetailsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a job. Used for custom actions only. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. This API also returns any secret values defined /// for the action. /// /// /// /// The unique system-generated ID for the job. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetJobDetails service method, as returned by CodePipeline. /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetJobDetails Operation public virtual Task GetJobDetailsAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new GetJobDetailsRequest(); request.JobId = jobId; return GetJobDetailsAsync(request, cancellationToken); } /// /// Returns information about a job. Used for custom actions only. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. This API also returns any secret values defined /// for the action. /// /// /// /// Container for the necessary parameters to execute the GetJobDetails service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetJobDetails service method, as returned by CodePipeline. /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetJobDetails Operation public virtual Task GetJobDetailsAsync(GetJobDetailsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetJobDetailsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetJobDetailsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetPipeline /// /// 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. /// /// The name of the pipeline for which you want to get information. Pipeline names must be unique in an Amazon Web Services account. /// The version number of the pipeline. If you do not specify a version, defaults to the current version. /// /// The response from the GetPipeline service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The pipeline version was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipeline Operation public virtual GetPipelineResponse GetPipeline(string name, int version) { var request = new GetPipelineRequest(); request.Name = name; request.Version = version; return GetPipeline(request); } /// /// 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. /// /// The name of the pipeline for which you want to get information. Pipeline names must be unique in an Amazon Web Services account. /// /// The response from the GetPipeline service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The pipeline version was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipeline Operation public virtual GetPipelineResponse GetPipeline(string name) { var request = new GetPipelineRequest(); request.Name = name; return GetPipeline(request); } /// /// 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. /// /// Container for the necessary parameters to execute the GetPipeline service method. /// /// The response from the GetPipeline service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The pipeline version was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipeline Operation public virtual GetPipelineResponse GetPipeline(GetPipelineRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPipelineRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPipelineResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// The name of the pipeline for which you want to get information. Pipeline names must be unique in an Amazon Web Services account. /// The version number of the pipeline. If you do not specify a version, defaults to the current version. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPipeline service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The pipeline version was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipeline Operation public virtual Task GetPipelineAsync(string name, int version, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new GetPipelineRequest(); request.Name = name; request.Version = version; return GetPipelineAsync(request, cancellationToken); } /// /// 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. /// /// The name of the pipeline for which you want to get information. Pipeline names must be unique in an Amazon Web Services account. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPipeline service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The pipeline version was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipeline Operation public virtual Task GetPipelineAsync(string name, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new GetPipelineRequest(); request.Name = name; return GetPipelineAsync(request, cancellationToken); } /// /// 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. /// /// Container for the necessary parameters to execute the GetPipeline service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPipeline service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The pipeline version was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipeline Operation public virtual Task GetPipelineAsync(GetPipelineRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetPipelineRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPipelineResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetPipelineExecution /// /// 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. /// /// Container for the necessary parameters to execute the GetPipelineExecution service method. /// /// The response from the GetPipelineExecution service method, as returned by CodePipeline. /// /// The pipeline execution was specified in an invalid format or cannot be found, or an /// execution ID does not belong to the specified pipeline. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipelineExecution Operation public virtual GetPipelineExecutionResponse GetPipelineExecution(GetPipelineExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPipelineExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPipelineExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the GetPipelineExecution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPipelineExecution service method, as returned by CodePipeline. /// /// The pipeline execution was specified in an invalid format or cannot be found, or an /// execution ID does not belong to the specified pipeline. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipelineExecution Operation public virtual Task GetPipelineExecutionAsync(GetPipelineExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetPipelineExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPipelineExecutionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetPipelineState /// /// 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. /// /// /// /// The name of the pipeline about which you want to get information. /// /// The response from the GetPipelineState service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipelineState Operation public virtual GetPipelineStateResponse GetPipelineState(string name) { var request = new GetPipelineStateRequest(); request.Name = name; return GetPipelineState(request); } /// /// 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. /// /// /// /// Container for the necessary parameters to execute the GetPipelineState service method. /// /// The response from the GetPipelineState service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipelineState Operation public virtual GetPipelineStateResponse GetPipelineState(GetPipelineStateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPipelineStateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPipelineStateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// /// The name of the pipeline about which you want to get information. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPipelineState service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipelineState Operation public virtual Task GetPipelineStateAsync(string name, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new GetPipelineStateRequest(); request.Name = name; return GetPipelineStateAsync(request, cancellationToken); } /// /// 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. /// /// /// /// Container for the necessary parameters to execute the GetPipelineState service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPipelineState service method, as returned by CodePipeline. /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetPipelineState Operation public virtual Task GetPipelineStateAsync(GetPipelineStateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetPipelineStateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPipelineStateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetThirdPartyJobDetails /// /// Requests the details of a job for a third party action. Used for partner actions only. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. This API also returns any secret values defined /// for the action. /// /// /// /// The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details. /// The unique system-generated ID used for identifying the job. /// /// The response from the GetThirdPartyJobDetails service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetThirdPartyJobDetails Operation public virtual GetThirdPartyJobDetailsResponse GetThirdPartyJobDetails(string clientToken, string jobId) { var request = new GetThirdPartyJobDetailsRequest(); request.ClientToken = clientToken; request.JobId = jobId; return GetThirdPartyJobDetails(request); } /// /// Requests the details of a job for a third party action. Used for partner actions only. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. This API also returns any secret values defined /// for the action. /// /// /// /// Container for the necessary parameters to execute the GetThirdPartyJobDetails service method. /// /// The response from the GetThirdPartyJobDetails service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetThirdPartyJobDetails Operation public virtual GetThirdPartyJobDetailsResponse GetThirdPartyJobDetails(GetThirdPartyJobDetailsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetThirdPartyJobDetailsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetThirdPartyJobDetailsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Requests the details of a job for a third party action. Used for partner actions only. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. This API also returns any secret values defined /// for the action. /// /// /// /// The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details. /// The unique system-generated ID used for identifying the job. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetThirdPartyJobDetails service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetThirdPartyJobDetails Operation public virtual Task GetThirdPartyJobDetailsAsync(string clientToken, string jobId, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new GetThirdPartyJobDetailsRequest(); request.ClientToken = clientToken; request.JobId = jobId; return GetThirdPartyJobDetailsAsync(request, cancellationToken); } /// /// Requests the details of a job for a third party action. Used for partner actions only. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. This API also returns any secret values defined /// for the action. /// /// /// /// Container for the necessary parameters to execute the GetThirdPartyJobDetails service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetThirdPartyJobDetails service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for GetThirdPartyJobDetails Operation public virtual Task GetThirdPartyJobDetailsAsync(GetThirdPartyJobDetailsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetThirdPartyJobDetailsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetThirdPartyJobDetailsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListActionExecutions /// /// Lists the action executions that have occurred in a pipeline. /// /// Container for the necessary parameters to execute the ListActionExecutions service method. /// /// The response from the ListActionExecutions service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The pipeline execution was specified in an invalid format or cannot be found, or an /// execution ID does not belong to the specified pipeline. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListActionExecutions Operation public virtual ListActionExecutionsResponse ListActionExecutions(ListActionExecutionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListActionExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListActionExecutionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the action executions that have occurred in a pipeline. /// /// Container for the necessary parameters to execute the ListActionExecutions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListActionExecutions service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The pipeline execution was specified in an invalid format or cannot be found, or an /// execution ID does not belong to the specified pipeline. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListActionExecutions Operation public virtual Task ListActionExecutionsAsync(ListActionExecutionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListActionExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListActionExecutionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListActionTypes /// /// Gets a summary of all CodePipeline action types associated with your account. /// /// /// The response from the ListActionTypes service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListActionTypes Operation public virtual ListActionTypesResponse ListActionTypes() { var request = new ListActionTypesRequest(); return ListActionTypes(request); } /// /// Gets a summary of all CodePipeline action types associated with your account. /// /// Filters the list of action types to those created by a specified entity. /// /// The response from the ListActionTypes service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListActionTypes Operation public virtual ListActionTypesResponse ListActionTypes(ActionOwner actionOwnerFilter) { var request = new ListActionTypesRequest(); request.ActionOwnerFilter = actionOwnerFilter; return ListActionTypes(request); } /// /// Gets a summary of all CodePipeline action types associated with your account. /// /// Container for the necessary parameters to execute the ListActionTypes service method. /// /// The response from the ListActionTypes service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListActionTypes Operation public virtual ListActionTypesResponse ListActionTypes(ListActionTypesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListActionTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListActionTypesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a summary of all CodePipeline action types associated with your account. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListActionTypes service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListActionTypes Operation public virtual Task ListActionTypesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new ListActionTypesRequest(); return ListActionTypesAsync(request, cancellationToken); } /// /// Gets a summary of all CodePipeline action types associated with your account. /// /// Filters the list of action types to those created by a specified entity. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListActionTypes service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListActionTypes Operation public virtual Task ListActionTypesAsync(ActionOwner actionOwnerFilter, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new ListActionTypesRequest(); request.ActionOwnerFilter = actionOwnerFilter; return ListActionTypesAsync(request, cancellationToken); } /// /// Gets a summary of all CodePipeline action types associated with your account. /// /// Container for the necessary parameters to execute the ListActionTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListActionTypes service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListActionTypes Operation public virtual Task ListActionTypesAsync(ListActionTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListActionTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListActionTypesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListPipelineExecutions /// /// Gets a summary of the most recent executions for a pipeline. /// /// Container for the necessary parameters to execute the ListPipelineExecutions service method. /// /// The response from the ListPipelineExecutions service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListPipelineExecutions Operation public virtual ListPipelineExecutionsResponse ListPipelineExecutions(ListPipelineExecutionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPipelineExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPipelineExecutionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a summary of the most recent executions for a pipeline. /// /// Container for the necessary parameters to execute the ListPipelineExecutions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPipelineExecutions service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListPipelineExecutions Operation public virtual Task ListPipelineExecutionsAsync(ListPipelineExecutionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPipelineExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPipelineExecutionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListPipelines /// /// Gets a summary of all of the pipelines associated with your account. /// /// /// The response from the ListPipelines service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListPipelines Operation public virtual ListPipelinesResponse ListPipelines() { var request = new ListPipelinesRequest(); return ListPipelines(request); } /// /// Gets a summary of all of the pipelines associated with your account. /// /// Container for the necessary parameters to execute the ListPipelines service method. /// /// The response from the ListPipelines service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListPipelines Operation public virtual ListPipelinesResponse ListPipelines(ListPipelinesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPipelinesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPipelinesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a summary of all of the pipelines associated with your account. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPipelines service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListPipelines Operation public virtual Task ListPipelinesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new ListPipelinesRequest(); return ListPipelinesAsync(request, cancellationToken); } /// /// Gets a summary of all of the pipelines associated with your account. /// /// Container for the necessary parameters to execute the ListPipelines service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPipelines service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListPipelines Operation public virtual Task ListPipelinesAsync(ListPipelinesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPipelinesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPipelinesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource /// /// Gets the set of key-value pairs (metadata) that are used to manage the resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by CodePipeline. /// /// The specified resource ARN is invalid. /// /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The resource was specified in an invalid format. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the set of key-value pairs (metadata) that are used to manage the resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by CodePipeline. /// /// The specified resource ARN is invalid. /// /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The resource was specified in an invalid format. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListTagsForResource Operation public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListWebhooks /// /// Gets a listing of all the webhooks in this Amazon Web Services Region for this account. /// The output lists all webhooks and includes the webhook URL and ARN and the configuration /// for each webhook. /// /// Container for the necessary parameters to execute the ListWebhooks service method. /// /// The response from the ListWebhooks service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListWebhooks Operation public virtual ListWebhooksResponse ListWebhooks(ListWebhooksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListWebhooksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWebhooksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a listing of all the webhooks in this Amazon Web Services Region for this account. /// The output lists all webhooks and includes the webhook URL and ARN and the configuration /// for each webhook. /// /// Container for the necessary parameters to execute the ListWebhooks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListWebhooks service method, as returned by CodePipeline. /// /// The next token was specified in an invalid format. Make sure that the next token you /// provide is the token returned by a previous call. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for ListWebhooks Operation public virtual Task ListWebhooksAsync(ListWebhooksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListWebhooksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWebhooksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PollForJobs /// /// Returns information about any jobs for CodePipeline to act on. PollForJobs /// is valid only for action types with "Custom" in the owner field. If the action type /// contains AWS or ThirdParty in the owner field, the PollForJobs /// action returns an error. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. This API also returns any secret values defined /// for the action. /// /// /// /// Container for the necessary parameters to execute the PollForJobs service method. /// /// The response from the PollForJobs service method, as returned by CodePipeline. /// /// The specified action type cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PollForJobs Operation public virtual PollForJobsResponse PollForJobs(PollForJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PollForJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = PollForJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about any jobs for CodePipeline to act on. PollForJobs /// is valid only for action types with "Custom" in the owner field. If the action type /// contains AWS or ThirdParty in the owner field, the PollForJobs /// action returns an error. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. This API also returns any secret values defined /// for the action. /// /// /// /// Container for the necessary parameters to execute the PollForJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PollForJobs service method, as returned by CodePipeline. /// /// The specified action type cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PollForJobs Operation public virtual Task PollForJobsAsync(PollForJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PollForJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = PollForJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PollForThirdPartyJobs /// /// Determines whether there are any third party jobs for a job worker to act on. Used /// for partner actions only. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. /// /// /// /// Container for the necessary parameters to execute the PollForThirdPartyJobs service method. /// /// The response from the PollForThirdPartyJobs service method, as returned by CodePipeline. /// /// The specified action type cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PollForThirdPartyJobs Operation public virtual PollForThirdPartyJobsResponse PollForThirdPartyJobs(PollForThirdPartyJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PollForThirdPartyJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = PollForThirdPartyJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Determines whether there are any third party jobs for a job worker to act on. Used /// for partner actions only. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. /// /// /// /// Container for the necessary parameters to execute the PollForThirdPartyJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PollForThirdPartyJobs service method, as returned by CodePipeline. /// /// The specified action type cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PollForThirdPartyJobs Operation public virtual Task PollForThirdPartyJobsAsync(PollForThirdPartyJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PollForThirdPartyJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = PollForThirdPartyJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutActionRevision /// /// Provides information to CodePipeline about new revisions to a source. /// /// Container for the necessary parameters to execute the PutActionRevision service method. /// /// The response from the PutActionRevision service method, as returned by CodePipeline. /// /// The specified action cannot be found. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The stage was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutActionRevision Operation public virtual PutActionRevisionResponse PutActionRevision(PutActionRevisionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutActionRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = PutActionRevisionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides information to CodePipeline about new revisions to a source. /// /// Container for the necessary parameters to execute the PutActionRevision service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutActionRevision service method, as returned by CodePipeline. /// /// The specified action cannot be found. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The stage was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutActionRevision Operation public virtual Task PutActionRevisionAsync(PutActionRevisionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutActionRevisionRequestMarshaller.Instance; options.ResponseUnmarshaller = PutActionRevisionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutApprovalResult /// /// Provides the response to a manual approval request to CodePipeline. Valid responses /// include Approved and Rejected. /// /// Container for the necessary parameters to execute the PutApprovalResult service method. /// /// The response from the PutApprovalResult service method, as returned by CodePipeline. /// /// The specified action cannot be found. /// /// /// The approval action has already been approved or rejected. /// /// /// The approval request already received a response or has expired. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The stage was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutApprovalResult Operation public virtual PutApprovalResultResponse PutApprovalResult(PutApprovalResultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutApprovalResultRequestMarshaller.Instance; options.ResponseUnmarshaller = PutApprovalResultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides the response to a manual approval request to CodePipeline. Valid responses /// include Approved and Rejected. /// /// Container for the necessary parameters to execute the PutApprovalResult service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutApprovalResult service method, as returned by CodePipeline. /// /// The specified action cannot be found. /// /// /// The approval action has already been approved or rejected. /// /// /// The approval request already received a response or has expired. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The stage was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutApprovalResult Operation public virtual Task PutApprovalResultAsync(PutApprovalResultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutApprovalResultRequestMarshaller.Instance; options.ResponseUnmarshaller = PutApprovalResultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutJobFailureResult /// /// Represents the failure of a job as returned to the pipeline by a job worker. Used /// for custom actions only. /// /// The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs. /// The details about the failure of a job. /// /// The response from the PutJobFailureResult service method, as returned by CodePipeline. /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutJobFailureResult Operation public virtual PutJobFailureResultResponse PutJobFailureResult(string jobId, FailureDetails failureDetails) { var request = new PutJobFailureResultRequest(); request.JobId = jobId; request.FailureDetails = failureDetails; return PutJobFailureResult(request); } /// /// Represents the failure of a job as returned to the pipeline by a job worker. Used /// for custom actions only. /// /// Container for the necessary parameters to execute the PutJobFailureResult service method. /// /// The response from the PutJobFailureResult service method, as returned by CodePipeline. /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutJobFailureResult Operation public virtual PutJobFailureResultResponse PutJobFailureResult(PutJobFailureResultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutJobFailureResultRequestMarshaller.Instance; options.ResponseUnmarshaller = PutJobFailureResultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents the failure of a job as returned to the pipeline by a job worker. Used /// for custom actions only. /// /// The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs. /// The details about the failure of a job. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutJobFailureResult service method, as returned by CodePipeline. /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutJobFailureResult Operation public virtual Task PutJobFailureResultAsync(string jobId, FailureDetails failureDetails, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new PutJobFailureResultRequest(); request.JobId = jobId; request.FailureDetails = failureDetails; return PutJobFailureResultAsync(request, cancellationToken); } /// /// Represents the failure of a job as returned to the pipeline by a job worker. Used /// for custom actions only. /// /// Container for the necessary parameters to execute the PutJobFailureResult service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutJobFailureResult service method, as returned by CodePipeline. /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutJobFailureResult Operation public virtual Task PutJobFailureResultAsync(PutJobFailureResultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutJobFailureResultRequestMarshaller.Instance; options.ResponseUnmarshaller = PutJobFailureResultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutJobSuccessResult /// /// Represents the success of a job as returned to the pipeline by a job worker. Used /// for custom actions only. /// /// Container for the necessary parameters to execute the PutJobSuccessResult service method. /// /// The response from the PutJobSuccessResult service method, as returned by CodePipeline. /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// Exceeded the total size limit for all variables in the pipeline. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutJobSuccessResult Operation public virtual PutJobSuccessResultResponse PutJobSuccessResult(PutJobSuccessResultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutJobSuccessResultRequestMarshaller.Instance; options.ResponseUnmarshaller = PutJobSuccessResultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents the success of a job as returned to the pipeline by a job worker. Used /// for custom actions only. /// /// Container for the necessary parameters to execute the PutJobSuccessResult service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutJobSuccessResult service method, as returned by CodePipeline. /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// Exceeded the total size limit for all variables in the pipeline. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutJobSuccessResult Operation public virtual Task PutJobSuccessResultAsync(PutJobSuccessResultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutJobSuccessResultRequestMarshaller.Instance; options.ResponseUnmarshaller = PutJobSuccessResultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutThirdPartyJobFailureResult /// /// Represents the failure of a third party job as returned to the pipeline by a job worker. /// Used for partner actions only. /// /// The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs. /// The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details. /// Represents information about failure details. /// /// The response from the PutThirdPartyJobFailureResult service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutThirdPartyJobFailureResult Operation public virtual PutThirdPartyJobFailureResultResponse PutThirdPartyJobFailureResult(string jobId, string clientToken, FailureDetails failureDetails) { var request = new PutThirdPartyJobFailureResultRequest(); request.JobId = jobId; request.ClientToken = clientToken; request.FailureDetails = failureDetails; return PutThirdPartyJobFailureResult(request); } /// /// Represents the failure of a third party job as returned to the pipeline by a job worker. /// Used for partner actions only. /// /// Container for the necessary parameters to execute the PutThirdPartyJobFailureResult service method. /// /// The response from the PutThirdPartyJobFailureResult service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutThirdPartyJobFailureResult Operation public virtual PutThirdPartyJobFailureResultResponse PutThirdPartyJobFailureResult(PutThirdPartyJobFailureResultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutThirdPartyJobFailureResultRequestMarshaller.Instance; options.ResponseUnmarshaller = PutThirdPartyJobFailureResultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents the failure of a third party job as returned to the pipeline by a job worker. /// Used for partner actions only. /// /// The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs. /// The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details. /// Represents information about failure details. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutThirdPartyJobFailureResult service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutThirdPartyJobFailureResult Operation public virtual Task PutThirdPartyJobFailureResultAsync(string jobId, string clientToken, FailureDetails failureDetails, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new PutThirdPartyJobFailureResultRequest(); request.JobId = jobId; request.ClientToken = clientToken; request.FailureDetails = failureDetails; return PutThirdPartyJobFailureResultAsync(request, cancellationToken); } /// /// Represents the failure of a third party job as returned to the pipeline by a job worker. /// Used for partner actions only. /// /// Container for the necessary parameters to execute the PutThirdPartyJobFailureResult service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutThirdPartyJobFailureResult service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutThirdPartyJobFailureResult Operation public virtual Task PutThirdPartyJobFailureResultAsync(PutThirdPartyJobFailureResultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutThirdPartyJobFailureResultRequestMarshaller.Instance; options.ResponseUnmarshaller = PutThirdPartyJobFailureResultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutThirdPartyJobSuccessResult /// /// Represents the success of a third party job as returned to the pipeline by a job worker. /// Used for partner actions only. /// /// Container for the necessary parameters to execute the PutThirdPartyJobSuccessResult service method. /// /// The response from the PutThirdPartyJobSuccessResult service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutThirdPartyJobSuccessResult Operation public virtual PutThirdPartyJobSuccessResultResponse PutThirdPartyJobSuccessResult(PutThirdPartyJobSuccessResultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutThirdPartyJobSuccessResultRequestMarshaller.Instance; options.ResponseUnmarshaller = PutThirdPartyJobSuccessResultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Represents the success of a third party job as returned to the pipeline by a job worker. /// Used for partner actions only. /// /// Container for the necessary parameters to execute the PutThirdPartyJobSuccessResult service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutThirdPartyJobSuccessResult service method, as returned by CodePipeline. /// /// The client token was specified in an invalid format /// /// /// The job state was specified in an invalid format. /// /// /// The job was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutThirdPartyJobSuccessResult Operation public virtual Task PutThirdPartyJobSuccessResultAsync(PutThirdPartyJobSuccessResultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutThirdPartyJobSuccessResultRequestMarshaller.Instance; options.ResponseUnmarshaller = PutThirdPartyJobSuccessResultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutWebhook /// /// 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. /// /// Container for the necessary parameters to execute the PutWebhook service method. /// /// The response from the PutWebhook service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The specified resource tags are invalid. /// /// /// The specified authentication type is in an invalid format. /// /// /// The specified event filter rule is in an invalid format. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The tags limit for a resource has been exceeded. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutWebhook Operation public virtual PutWebhookResponse PutWebhook(PutWebhookRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutWebhookRequestMarshaller.Instance; options.ResponseUnmarshaller = PutWebhookResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the PutWebhook service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutWebhook service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The specified resource tags are invalid. /// /// /// The specified authentication type is in an invalid format. /// /// /// The specified event filter rule is in an invalid format. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The tags limit for a resource has been exceeded. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for PutWebhook Operation public virtual Task PutWebhookAsync(PutWebhookRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutWebhookRequestMarshaller.Instance; options.ResponseUnmarshaller = PutWebhookResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterWebhookWithThirdParty /// /// Configures a connection between the webhook that was created and the external tool /// with events to be detected. /// /// Container for the necessary parameters to execute the RegisterWebhookWithThirdParty service method. /// /// The response from the RegisterWebhookWithThirdParty service method, as returned by CodePipeline. /// /// The validation was specified in an invalid format. /// /// /// The specified webhook was entered in an invalid format or cannot be found. /// /// REST API Reference for RegisterWebhookWithThirdParty Operation public virtual RegisterWebhookWithThirdPartyResponse RegisterWebhookWithThirdParty(RegisterWebhookWithThirdPartyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterWebhookWithThirdPartyRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterWebhookWithThirdPartyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Configures a connection between the webhook that was created and the external tool /// with events to be detected. /// /// Container for the necessary parameters to execute the RegisterWebhookWithThirdParty service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterWebhookWithThirdParty service method, as returned by CodePipeline. /// /// The validation was specified in an invalid format. /// /// /// The specified webhook was entered in an invalid format or cannot be found. /// /// REST API Reference for RegisterWebhookWithThirdParty Operation public virtual Task RegisterWebhookWithThirdPartyAsync(RegisterWebhookWithThirdPartyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterWebhookWithThirdPartyRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterWebhookWithThirdPartyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RetryStageExecution /// /// 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. /// /// Container for the necessary parameters to execute the RetryStageExecution service method. /// /// The response from the RetryStageExecution service method, as returned by CodePipeline. /// /// Your request cannot be handled because the pipeline is busy handling ongoing activities. /// Try again later. /// /// /// The stage has failed in a later run of the pipeline and the pipelineExecutionId /// associated with the request is out of date. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The stage was specified in an invalid format or cannot be found. /// /// /// Unable to retry. The pipeline structure or stage state might have changed while actions /// awaited retry, or the stage contains no failed actions. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for RetryStageExecution Operation public virtual RetryStageExecutionResponse RetryStageExecution(RetryStageExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RetryStageExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = RetryStageExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the RetryStageExecution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RetryStageExecution service method, as returned by CodePipeline. /// /// Your request cannot be handled because the pipeline is busy handling ongoing activities. /// Try again later. /// /// /// The stage has failed in a later run of the pipeline and the pipelineExecutionId /// associated with the request is out of date. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The stage was specified in an invalid format or cannot be found. /// /// /// Unable to retry. The pipeline structure or stage state might have changed while actions /// awaited retry, or the stage contains no failed actions. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for RetryStageExecution Operation public virtual Task RetryStageExecutionAsync(RetryStageExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RetryStageExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = RetryStageExecutionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartPipelineExecution /// /// Starts the specified pipeline. Specifically, it begins processing the latest commit /// to the source location specified as part of the pipeline. /// /// The name of the pipeline to start. /// /// The response from the StartPipelineExecution service method, as returned by CodePipeline. /// /// Your request cannot be handled because the pipeline is busy handling ongoing activities. /// Try again later. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for StartPipelineExecution Operation public virtual StartPipelineExecutionResponse StartPipelineExecution(string name) { var request = new StartPipelineExecutionRequest(); request.Name = name; return StartPipelineExecution(request); } /// /// Starts the specified pipeline. Specifically, it begins processing the latest commit /// to the source location specified as part of the pipeline. /// /// Container for the necessary parameters to execute the StartPipelineExecution service method. /// /// The response from the StartPipelineExecution service method, as returned by CodePipeline. /// /// Your request cannot be handled because the pipeline is busy handling ongoing activities. /// Try again later. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for StartPipelineExecution Operation public virtual StartPipelineExecutionResponse StartPipelineExecution(StartPipelineExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartPipelineExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartPipelineExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts the specified pipeline. Specifically, it begins processing the latest commit /// to the source location specified as part of the pipeline. /// /// The name of the pipeline to start. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartPipelineExecution service method, as returned by CodePipeline. /// /// Your request cannot be handled because the pipeline is busy handling ongoing activities. /// Try again later. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for StartPipelineExecution Operation public virtual Task StartPipelineExecutionAsync(string name, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new StartPipelineExecutionRequest(); request.Name = name; return StartPipelineExecutionAsync(request, cancellationToken); } /// /// Starts the specified pipeline. Specifically, it begins processing the latest commit /// to the source location specified as part of the pipeline. /// /// Container for the necessary parameters to execute the StartPipelineExecution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartPipelineExecution service method, as returned by CodePipeline. /// /// Your request cannot be handled because the pipeline is busy handling ongoing activities. /// Try again later. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for StartPipelineExecution Operation public virtual Task StartPipelineExecutionAsync(StartPipelineExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartPipelineExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartPipelineExecutionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StopPipelineExecution /// /// 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. /// /// Container for the necessary parameters to execute the StopPipelineExecution service method. /// /// The response from the StopPipelineExecution service method, as returned by CodePipeline. /// /// Your request cannot be handled because the pipeline is busy handling ongoing activities. /// Try again later. /// /// /// The pipeline execution is already in a Stopping state. If you already /// chose to stop and wait, you cannot make that request again. You can choose to stop /// and abandon now, but be aware that this option can lead to failed tasks or out of /// sequence tasks. If you already chose to stop and abandon, you cannot make that request /// again. /// /// /// Unable to stop the pipeline execution. The execution might already be in a Stopped /// state, or it might no longer be in progress. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for StopPipelineExecution Operation public virtual StopPipelineExecutionResponse StopPipelineExecution(StopPipelineExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopPipelineExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StopPipelineExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the StopPipelineExecution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopPipelineExecution service method, as returned by CodePipeline. /// /// Your request cannot be handled because the pipeline is busy handling ongoing activities. /// Try again later. /// /// /// The pipeline execution is already in a Stopping state. If you already /// chose to stop and wait, you cannot make that request again. You can choose to stop /// and abandon now, but be aware that this option can lead to failed tasks or out of /// sequence tasks. If you already chose to stop and abandon, you cannot make that request /// again. /// /// /// Unable to stop the pipeline execution. The execution might already be in a Stopped /// state, or it might no longer be in progress. /// /// /// The pipeline was specified in an invalid format or cannot be found. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for StopPipelineExecution Operation public virtual Task StopPipelineExecutionAsync(StopPipelineExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopPipelineExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StopPipelineExecutionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource /// /// Adds to or modifies the tags of the given resource. Tags are metadata that can be /// used to manage a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The specified resource ARN is invalid. /// /// /// The specified resource tags are invalid. /// /// /// The resource was specified in an invalid format. /// /// /// The tags limit for a resource has been exceeded. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds to or modifies the tags of the given resource. Tags are metadata that can be /// used to manage a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The specified resource ARN is invalid. /// /// /// The specified resource tags are invalid. /// /// /// The resource was specified in an invalid format. /// /// /// The tags limit for a resource has been exceeded. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for TagResource Operation public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource /// /// Removes tags from an Amazon Web Services resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The specified resource ARN is invalid. /// /// /// The specified resource tags are invalid. /// /// /// The resource was specified in an invalid format. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes tags from an Amazon Web Services resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by CodePipeline. /// /// Unable to modify the tag due to a simultaneous update request. /// /// /// The specified resource ARN is invalid. /// /// /// The specified resource tags are invalid. /// /// /// The resource was specified in an invalid format. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for UntagResource Operation public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateActionType /// /// Updates an action type that was created with any supported integration model, where /// the action type is to be used by customers of the action type provider. Use a JSON /// file with the action definition and UpdateActionType to provide the full /// structure. /// /// Container for the necessary parameters to execute the UpdateActionType service method. /// /// The response from the UpdateActionType service method, as returned by CodePipeline. /// /// The specified action type cannot be found. /// /// /// The request failed because of an unknown error, exception, or failure. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for UpdateActionType Operation public virtual UpdateActionTypeResponse UpdateActionType(UpdateActionTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateActionTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateActionTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an action type that was created with any supported integration model, where /// the action type is to be used by customers of the action type provider. Use a JSON /// file with the action definition and UpdateActionType to provide the full /// structure. /// /// Container for the necessary parameters to execute the UpdateActionType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateActionType service method, as returned by CodePipeline. /// /// The specified action type cannot be found. /// /// /// The request failed because of an unknown error, exception, or failure. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for UpdateActionType Operation public virtual Task UpdateActionTypeAsync(UpdateActionTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateActionTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateActionTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdatePipeline /// /// 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. /// /// The name of the pipeline to be updated. /// /// The response from the UpdatePipeline service method, as returned by CodePipeline. /// /// The action declaration was specified in an invalid format. /// /// /// Reserved for future use. /// /// /// The stage declaration was specified in an invalid format. /// /// /// The structure was specified in an invalid format. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for UpdatePipeline Operation public virtual UpdatePipelineResponse UpdatePipeline(PipelineDeclaration pipeline) { var request = new UpdatePipelineRequest(); request.Pipeline = pipeline; return UpdatePipeline(request); } /// /// 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. /// /// Container for the necessary parameters to execute the UpdatePipeline service method. /// /// The response from the UpdatePipeline service method, as returned by CodePipeline. /// /// The action declaration was specified in an invalid format. /// /// /// Reserved for future use. /// /// /// The stage declaration was specified in an invalid format. /// /// /// The structure was specified in an invalid format. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for UpdatePipeline Operation public virtual UpdatePipelineResponse UpdatePipeline(UpdatePipelineRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePipelineRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePipelineResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// The name of the pipeline to be updated. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdatePipeline service method, as returned by CodePipeline. /// /// The action declaration was specified in an invalid format. /// /// /// Reserved for future use. /// /// /// The stage declaration was specified in an invalid format. /// /// /// The structure was specified in an invalid format. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for UpdatePipeline Operation public virtual Task UpdatePipelineAsync(PipelineDeclaration pipeline, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new UpdatePipelineRequest(); request.Pipeline = pipeline; return UpdatePipelineAsync(request, cancellationToken); } /// /// 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. /// /// Container for the necessary parameters to execute the UpdatePipeline service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdatePipeline service method, as returned by CodePipeline. /// /// The action declaration was specified in an invalid format. /// /// /// Reserved for future use. /// /// /// The stage declaration was specified in an invalid format. /// /// /// The structure was specified in an invalid format. /// /// /// The number of pipelines associated with the Amazon Web Services account has exceeded /// the limit allowed for the account. /// /// /// The validation was specified in an invalid format. /// /// REST API Reference for UpdatePipeline Operation public virtual Task UpdatePipelineAsync(UpdatePipelineRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePipelineRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePipelineResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }