Class: Aws::CodePipeline::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::CodePipeline::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- lib/aws-sdk-codepipeline/client.rb
Overview
An API client for CodePipeline. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::CodePipeline::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#acknowledge_job(params = {}) ⇒ Types::AcknowledgeJobOutput
Returns information about a specified job and whether that job has been received by the job worker.
-
#acknowledge_third_party_job(params = {}) ⇒ Types::AcknowledgeThirdPartyJobOutput
Confirms a job worker has received the specified job.
-
#create_custom_action_type(params = {}) ⇒ Types::CreateCustomActionTypeOutput
Creates a new custom action that can be used in all pipelines associated with the Amazon Web Services account.
-
#create_pipeline(params = {}) ⇒ Types::CreatePipelineOutput
Creates a pipeline.
-
#delete_custom_action_type(params = {}) ⇒ Struct
Marks a custom action as deleted.
-
#delete_pipeline(params = {}) ⇒ Struct
Deletes the specified pipeline.
-
#delete_webhook(params = {}) ⇒ Struct
Deletes a previously created webhook by name.
-
#deregister_webhook_with_third_party(params = {}) ⇒ Struct
Removes the connection between the webhook that was created by CodePipeline and the external tool with events to be detected.
-
#disable_stage_transition(params = {}) ⇒ Struct
Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline.
-
#enable_stage_transition(params = {}) ⇒ Struct
Enables artifacts in a pipeline to transition to a stage in a pipeline.
-
#get_action_type(params = {}) ⇒ Types::GetActionTypeOutput
Returns information about an action type created for an external provider, where the action is to be used by customers of the external provider.
-
#get_job_details(params = {}) ⇒ Types::GetJobDetailsOutput
Returns information about a job.
-
#get_pipeline(params = {}) ⇒ Types::GetPipelineOutput
Returns the metadata, structure, stages, and actions of a pipeline.
-
#get_pipeline_execution(params = {}) ⇒ Types::GetPipelineExecutionOutput
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.
-
#get_pipeline_state(params = {}) ⇒ Types::GetPipelineStateOutput
Returns information about the state of a pipeline, including the stages and actions.
-
#get_third_party_job_details(params = {}) ⇒ Types::GetThirdPartyJobDetailsOutput
Requests the details of a job for a third party action.
-
#list_action_executions(params = {}) ⇒ Types::ListActionExecutionsOutput
Lists the action executions that have occurred in a pipeline.
-
#list_action_types(params = {}) ⇒ Types::ListActionTypesOutput
Gets a summary of all CodePipeline action types associated with your account.
-
#list_pipeline_executions(params = {}) ⇒ Types::ListPipelineExecutionsOutput
Gets a summary of the most recent executions for a pipeline.
-
#list_pipelines(params = {}) ⇒ Types::ListPipelinesOutput
Gets a summary of all of the pipelines associated with your account.
-
#list_rule_executions(params = {}) ⇒ Types::ListRuleExecutionsOutput
Lists the rule executions that have occurred in a pipeline configured for conditions with rules.
-
#list_rule_types(params = {}) ⇒ Types::ListRuleTypesOutput
Lists the rules for the condition.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Gets the set of key-value pairs (metadata) that are used to manage the resource.
-
#list_webhooks(params = {}) ⇒ Types::ListWebhooksOutput
Gets a listing of all the webhooks in this Amazon Web Services Region for this account.
-
#override_stage_condition(params = {}) ⇒ Struct
Used to override a stage condition.
-
#poll_for_jobs(params = {}) ⇒ Types::PollForJobsOutput
Returns information about any jobs for CodePipeline to act on.
-
#poll_for_third_party_jobs(params = {}) ⇒ Types::PollForThirdPartyJobsOutput
Determines whether there are any third party jobs for a job worker to act on.
-
#put_action_revision(params = {}) ⇒ Types::PutActionRevisionOutput
Provides information to CodePipeline about new revisions to a source.
-
#put_approval_result(params = {}) ⇒ Types::PutApprovalResultOutput
Provides the response to a manual approval request to CodePipeline.
-
#put_job_failure_result(params = {}) ⇒ Struct
Represents the failure of a job as returned to the pipeline by a job worker.
-
#put_job_success_result(params = {}) ⇒ Struct
Represents the success of a job as returned to the pipeline by a job worker.
-
#put_third_party_job_failure_result(params = {}) ⇒ Struct
Represents the failure of a third party job as returned to the pipeline by a job worker.
-
#put_third_party_job_success_result(params = {}) ⇒ Struct
Represents the success of a third party job as returned to the pipeline by a job worker.
-
#put_webhook(params = {}) ⇒ Types::PutWebhookOutput
Defines a webhook and returns a unique webhook URL generated by CodePipeline.
-
#register_webhook_with_third_party(params = {}) ⇒ Struct
Configures a connection between the webhook that was created and the external tool with events to be detected.
-
#retry_stage_execution(params = {}) ⇒ Types::RetryStageExecutionOutput
You can retry a stage that has failed without having to run a pipeline again from the beginning.
-
#rollback_stage(params = {}) ⇒ Types::RollbackStageOutput
Rolls back a stage execution.
-
#start_pipeline_execution(params = {}) ⇒ Types::StartPipelineExecutionOutput
Starts the specified pipeline.
-
#stop_pipeline_execution(params = {}) ⇒ Types::StopPipelineExecutionOutput
Stops the specified pipeline execution.
-
#tag_resource(params = {}) ⇒ Struct
Adds to or modifies the tags of the given resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from an Amazon Web Services resource.
-
#update_action_type(params = {}) ⇒ Struct
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.
-
#update_pipeline(params = {}) ⇒ Types::UpdatePipelineOutput
Updates a specified pipeline with edits or changes to its structure.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
451 452 453 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 451 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3580 3581 3582 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 3580 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3583 3584 3585 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 3583 def errors_module Errors end |
Instance Method Details
#acknowledge_job(params = {}) ⇒ Types::AcknowledgeJobOutput
Returns information about a specified job and whether that job has been received by the job worker. Used for custom actions only.
488 489 490 491 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 488 def acknowledge_job(params = {}, = {}) req = build_request(:acknowledge_job, params) req.send_request() end |
#acknowledge_third_party_job(params = {}) ⇒ Types::AcknowledgeThirdPartyJobOutput
Confirms a job worker has received the specified job. Used for partner actions only.
529 530 531 532 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 529 def acknowledge_third_party_job(params = {}, = {}) req = build_request(:acknowledge_third_party_job, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 3553 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::CodePipeline') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-codepipeline' context[:gem_version] = '1.85.0' Seahorse::Client::Request.new(handlers, context) end |
#create_custom_action_type(params = {}) ⇒ Types::CreateCustomActionTypeOutput
Creates a new custom action that can be used in all pipelines associated with the Amazon Web Services account. Only used for custom actions.
652 653 654 655 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 652 def create_custom_action_type(params = {}, = {}) req = build_request(:create_custom_action_type, params) req.send_request() end |
#create_pipeline(params = {}) ⇒ Types::CreatePipelineOutput
Creates a pipeline.
<note markdown=“1”> 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`.
</note>
1009 1010 1011 1012 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1009 def create_pipeline(params = {}, = {}) req = build_request(:create_pipeline, params) req.send_request() end |
#delete_custom_action_type(params = {}) ⇒ Struct
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.
1049 1050 1051 1052 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1049 def delete_custom_action_type(params = {}, = {}) req = build_request(:delete_custom_action_type, params) req.send_request() end |
#delete_pipeline(params = {}) ⇒ Struct
Deletes the specified pipeline.
1071 1072 1073 1074 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1071 def delete_pipeline(params = {}, = {}) req = build_request(:delete_pipeline, params) req.send_request() end |
#delete_webhook(params = {}) ⇒ Struct
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.
1097 1098 1099 1100 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1097 def delete_webhook(params = {}, = {}) req = build_request(:delete_webhook, params) req.send_request() end |
#deregister_webhook_with_third_party(params = {}) ⇒ Struct
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.
1122 1123 1124 1125 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1122 def deregister_webhook_with_third_party(params = {}, = {}) req = build_request(:deregister_webhook_with_third_party, params) req.send_request() end |
#disable_stage_transition(params = {}) ⇒ Struct
Prevents artifacts in a pipeline from transitioning to the next stage in the pipeline.
1164 1165 1166 1167 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1164 def disable_stage_transition(params = {}, = {}) req = build_request(:disable_stage_transition, params) req.send_request() end |
#enable_stage_transition(params = {}) ⇒ Struct
Enables artifacts in a pipeline to transition to a stage in a pipeline.
1201 1202 1203 1204 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1201 def enable_stage_transition(params = {}, = {}) req = build_request(:enable_stage_transition, params) req.send_request() end |
#get_action_type(params = {}) ⇒ Types::GetActionTypeOutput
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.
1288 1289 1290 1291 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1288 def get_action_type(params = {}, = {}) req = build_request(:get_action_type, params) req.send_request() end |
#get_job_details(params = {}) ⇒ Types::GetJobDetailsOutput
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.
1353 1354 1355 1356 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1353 def get_job_details(params = {}, = {}) req = build_request(:get_job_details, params) req.send_request() end |
#get_pipeline(params = {}) ⇒ Types::GetPipelineOutput
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.
1507 1508 1509 1510 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1507 def get_pipeline(params = {}, = {}) req = build_request(:get_pipeline, params) req.send_request() end |
#get_pipeline_execution(params = {}) ⇒ Types::GetPipelineExecutionOutput
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.
1562 1563 1564 1565 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1562 def get_pipeline_execution(params = {}, = {}) req = build_request(:get_pipeline_execution, params) req.send_request() end |
#get_pipeline_state(params = {}) ⇒ Types::GetPipelineStateOutput
Returns information about the state of a pipeline, including the stages and actions.
<note markdown=“1”> Values returned in the ‘revisionId` and `revisionUrl` fields indicate the source revision information, such as the commit ID, for the current state.
</note>
1707 1708 1709 1710 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1707 def get_pipeline_state(params = {}, = {}) req = build_request(:get_pipeline_state, params) req.send_request() end |
#get_third_party_job_details(params = {}) ⇒ Types::GetThirdPartyJobDetailsOutput
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.
1779 1780 1781 1782 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1779 def get_third_party_job_details(params = {}, = {}) req = build_request(:get_third_party_job_details, params) req.send_request() end |
#list_action_executions(params = {}) ⇒ Types::ListActionExecutionsOutput
Lists the action executions that have occurred in a pipeline.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1870 1871 1872 1873 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1870 def list_action_executions(params = {}, = {}) req = build_request(:list_action_executions, params) req.send_request() end |
#list_action_types(params = {}) ⇒ Types::ListActionTypesOutput
Gets a summary of all CodePipeline action types associated with your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1934 1935 1936 1937 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 1934 def list_action_types(params = {}, = {}) req = build_request(:list_action_types, params) req.send_request() end |
#list_pipeline_executions(params = {}) ⇒ Types::ListPipelineExecutionsOutput
Gets a summary of the most recent executions for a pipeline.
<note markdown=“1”> When applying the filter for pipeline executions that have succeeded in the stage, the operation returns all executions in the current pipeline version beginning on February 1, 2024.
</note>
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2010 2011 2012 2013 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2010 def list_pipeline_executions(params = {}, = {}) req = build_request(:list_pipeline_executions, params) req.send_request() end |
#list_pipelines(params = {}) ⇒ Types::ListPipelinesOutput
Gets a summary of all of the pipelines associated with your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2056 2057 2058 2059 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2056 def list_pipelines(params = {}, = {}) req = build_request(:list_pipelines, params) req.send_request() end |
#list_rule_executions(params = {}) ⇒ Types::ListRuleExecutionsOutput
Lists the rule executions that have occurred in a pipeline configured for conditions with rules.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2141 2142 2143 2144 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2141 def list_rule_executions(params = {}, = {}) req = build_request(:list_rule_executions, params) req.send_request() end |
#list_rule_types(params = {}) ⇒ Types::ListRuleTypesOutput
Lists the rules for the condition.
2191 2192 2193 2194 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2191 def list_rule_types(params = {}, = {}) req = build_request(:list_rule_types, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Gets the set of key-value pairs (metadata) that are used to manage the resource.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2236 2237 2238 2239 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2236 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_webhooks(params = {}) ⇒ Types::ListWebhooksOutput
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.
<note markdown=“1”> If a secret token was provided, it will be redacted in the response.
</note>
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2298 2299 2300 2301 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2298 def list_webhooks(params = {}, = {}) req = build_request(:list_webhooks, params) req.send_request() end |
#override_stage_condition(params = {}) ⇒ Struct
Used to override a stage condition.
2334 2335 2336 2337 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2334 def override_stage_condition(params = {}, = {}) req = build_request(:override_stage_condition, params) req.send_request() end |
#poll_for_jobs(params = {}) ⇒ Types::PollForJobsOutput
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.
2423 2424 2425 2426 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2423 def poll_for_jobs(params = {}, = {}) req = build_request(:poll_for_jobs, params) req.send_request() end |
#poll_for_third_party_jobs(params = {}) ⇒ Types::PollForThirdPartyJobsOutput
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.
2468 2469 2470 2471 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2468 def poll_for_third_party_jobs(params = {}, = {}) req = build_request(:poll_for_third_party_jobs, params) req.send_request() end |
#put_action_revision(params = {}) ⇒ Types::PutActionRevisionOutput
Provides information to CodePipeline about new revisions to a source.
2516 2517 2518 2519 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2516 def put_action_revision(params = {}, = {}) req = build_request(:put_action_revision, params) req.send_request() end |
#put_approval_result(params = {}) ⇒ Types::PutApprovalResultOutput
Provides the response to a manual approval request to CodePipeline. Valid responses include Approved and Rejected.
2567 2568 2569 2570 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2567 def put_approval_result(params = {}, = {}) req = build_request(:put_approval_result, params) req.send_request() end |
#put_job_failure_result(params = {}) ⇒ Struct
Represents the failure of a job as returned to the pipeline by a job worker. Used for custom actions only.
2599 2600 2601 2602 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2599 def put_job_failure_result(params = {}, = {}) req = build_request(:put_job_failure_result, params) req.send_request() end |
#put_job_success_result(params = {}) ⇒ Struct
Represents the success of a job as returned to the pipeline by a job worker. Used for custom actions only.
2659 2660 2661 2662 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2659 def put_job_success_result(params = {}, = {}) req = build_request(:put_job_success_result, params) req.send_request() end |
#put_third_party_job_failure_result(params = {}) ⇒ Struct
Represents the failure of a third party job as returned to the pipeline by a job worker. Used for partner actions only.
2697 2698 2699 2700 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2697 def put_third_party_job_failure_result(params = {}, = {}) req = build_request(:put_third_party_job_failure_result, params) req.send_request() end |
#put_third_party_job_success_result(params = {}) ⇒ Struct
Represents the success of a third party job as returned to the pipeline by a job worker. Used for partner actions only.
2754 2755 2756 2757 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2754 def put_third_party_job_success_result(params = {}, = {}) req = build_request(:put_third_party_job_success_result, params) req.send_request() end |
#put_webhook(params = {}) ⇒ Types::PutWebhookOutput
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.
When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities.
<note markdown=“1”> If a secret token was provided, it will be redacted in the response.
</note>
2847 2848 2849 2850 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2847 def put_webhook(params = {}, = {}) req = build_request(:put_webhook, params) req.send_request() end |
#register_webhook_with_third_party(params = {}) ⇒ Struct
Configures a connection between the webhook that was created and the external tool with events to be detected.
2871 2872 2873 2874 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2871 def register_webhook_with_third_party(params = {}, = {}) req = build_request(:register_webhook_with_third_party, params) req.send_request() end |
#retry_stage_execution(params = {}) ⇒ Types::RetryStageExecutionOutput
You can retry a stage that has failed without having to run a pipeline again from the beginning. You do this by either retrying the failed actions in a stage or by retrying all actions in the stage starting from the first action in the stage. When you retry the failed actions in a stage, all actions that are still in progress continue working, and failed actions are triggered again. When you retry a failed stage from the first action in the stage, the stage cannot have any actions in progress. Before a stage can be retried, it must either have all actions failed or some actions failed and some succeeded.
2921 2922 2923 2924 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2921 def retry_stage_execution(params = {}, = {}) req = build_request(:retry_stage_execution, params) req.send_request() end |
#rollback_stage(params = {}) ⇒ Types::RollbackStageOutput
Rolls back a stage execution.
2957 2958 2959 2960 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 2957 def rollback_stage(params = {}, = {}) req = build_request(:rollback_stage, params) req.send_request() end |
#start_pipeline_execution(params = {}) ⇒ Types::StartPipelineExecutionOutput
Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location specified as part of the pipeline.
3019 3020 3021 3022 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 3019 def start_pipeline_execution(params = {}, = {}) req = build_request(:start_pipeline_execution, params) req.send_request() end |
#stop_pipeline_execution(params = {}) ⇒ Types::StopPipelineExecutionOutput
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.
3072 3073 3074 3075 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 3072 def stop_pipeline_execution(params = {}, = {}) req = build_request(:stop_pipeline_execution, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
3105 3106 3107 3108 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 3105 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from an Amazon Web Services resource.
3131 3132 3133 3134 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 3131 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_action_type(params = {}) ⇒ Struct
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.
3205 3206 3207 3208 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 3205 def update_action_type(params = {}, = {}) req = build_request(:update_action_type, params) req.send_request() end |
#update_pipeline(params = {}) ⇒ Types::UpdatePipelineOutput
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.
3544 3545 3546 3547 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 3544 def update_pipeline(params = {}, = {}) req = build_request(:update_pipeline, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3573 3574 3575 |
# File 'lib/aws-sdk-codepipeline/client.rb', line 3573 def waiter_names [] end |