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.
1730 1731 1732 1733 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1730 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.
1802 1803 1804 1805 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1802 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.
1893 1894 1895 1896 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1893 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.
1957 1958 1959 1960 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1957 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.
2033 2034 2035 2036 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2033 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.
2079 2080 2081 2082 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2079 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.
2164 2165 2166 2167 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2164 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.
2214 2215 2216 2217 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2214 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.
2259 2260 2261 2262 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2259 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.
2321 2322 2323 2324 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2321 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.
2357 2358 2359 2360 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2357 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.
2446 2447 2448 2449 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2446 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.
2491 2492 2493 2494 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2491 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.
2539 2540 2541 2542 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2539 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.
2590 2591 2592 2593 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2590 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.
2622 2623 2624 2625 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2622 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.
2682 2683 2684 2685 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2682 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.
2720 2721 2722 2723 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2720 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.
2777 2778 2779 2780 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2777 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.
2870 2871 2872 2873 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2870 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.
2894 2895 2896 2897 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2894 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.
2944 2945 2946 2947 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2944 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.
2980 2981 2982 2983 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2980 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.
3042 3043 3044 3045 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3042 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.
3095 3096 3097 3098 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3095 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.
3128 3129 3130 3131 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3128 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.
3154 3155 3156 3157 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3154 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.
3228 3229 3230 3231 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3228 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.
3580 3581 3582 3583 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3580 def update_pipeline(params = {}, = {}) req = build_request(:update_pipeline, params) req.send_request() end |