Class: Aws::CodePipeline::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::CodePipeline::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- gems/aws-sdk-codepipeline/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.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
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.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from Aws::ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
451 452 453 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 451 def initialize(*args) super 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 'gems/aws-sdk-codepipeline/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 'gems/aws-sdk-codepipeline/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 |
#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 'gems/aws-sdk-codepipeline/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.
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
.
1022 1023 1024 1025 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1022 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.
1062 1063 1064 1065 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1062 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.
1084 1085 1086 1087 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1084 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.
1110 1111 1112 1113 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1110 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.
1135 1136 1137 1138 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1135 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.
1177 1178 1179 1180 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1177 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.
1214 1215 1216 1217 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1214 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.
1301 1302 1303 1304 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1301 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.
1366 1367 1368 1369 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1366 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.
1527 1528 1529 1530 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1527 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.
1582 1583 1584 1585 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1582 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.
revisionId
and revisionUrl
fields indicate
the source revision information, such as the commit ID, for the
current state.
1731 1732 1733 1734 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1731 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.
1803 1804 1805 1806 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1803 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.
1895 1896 1897 1898 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1895 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.
1959 1960 1961 1962 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1959 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2035 2036 2037 2038 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2035 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.
2081 2082 2083 2084 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2081 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.
2166 2167 2168 2169 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2166 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.
2216 2217 2218 2219 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2216 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.
2261 2262 2263 2264 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2261 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2323 2324 2325 2326 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2323 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.
2359 2360 2361 2362 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2359 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.
2448 2449 2450 2451 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2448 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.
2493 2494 2495 2496 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2493 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.
2541 2542 2543 2544 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2541 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.
2597 2598 2599 2600 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2597 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.
2629 2630 2631 2632 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2629 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.
2689 2690 2691 2692 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2689 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.
2727 2728 2729 2730 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2727 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.
2784 2785 2786 2787 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2784 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.
2877 2878 2879 2880 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2877 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.
2901 2902 2903 2904 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2901 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.
2951 2952 2953 2954 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2951 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.
2987 2988 2989 2990 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2987 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.
3049 3050 3051 3052 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3049 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.
3102 3103 3104 3105 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3102 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.
3135 3136 3137 3138 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3135 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.
3161 3162 3163 3164 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3161 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.
3235 3236 3237 3238 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3235 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.
3587 3588 3589 3590 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3587 def update_pipeline(params = {}, = {}) req = build_request(:update_pipeline, params) req.send_request() end |