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
.
1031 1032 1033 1034 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1031 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.
1071 1072 1073 1074 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1071 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.
1093 1094 1095 1096 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1093 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.
1119 1120 1121 1122 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1119 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.
1144 1145 1146 1147 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1144 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.
1186 1187 1188 1189 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1186 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.
1223 1224 1225 1226 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1223 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.
1312 1313 1314 1315 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1312 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.
1377 1378 1379 1380 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1377 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.
1544 1545 1546 1547 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1544 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.
1599 1600 1601 1602 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1599 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.
1748 1749 1750 1751 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1748 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.
1820 1821 1822 1823 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1820 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.
1912 1913 1914 1915 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1912 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.
1976 1977 1978 1979 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 1976 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.
2052 2053 2054 2055 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2052 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.
2098 2099 2100 2101 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2098 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.
2183 2184 2185 2186 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2183 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. For more information about conditions, see Stage conditions. For more information about rules, see the CodePipeline rule reference.
2240 2241 2242 2243 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2240 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.
2285 2286 2287 2288 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2285 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.
2347 2348 2349 2350 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2347 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.
2383 2384 2385 2386 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2383 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.
2472 2473 2474 2475 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2472 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.
2517 2518 2519 2520 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2517 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.
2565 2566 2567 2568 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2565 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.
2621 2622 2623 2624 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2621 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.
2653 2654 2655 2656 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2653 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.
2713 2714 2715 2716 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2713 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.
2751 2752 2753 2754 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2751 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.
2808 2809 2810 2811 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2808 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.
2901 2902 2903 2904 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2901 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.
2925 2926 2927 2928 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2925 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.
2975 2976 2977 2978 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 2975 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.
3011 3012 3013 3014 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3011 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.
3073 3074 3075 3076 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3073 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.
3126 3127 3128 3129 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3126 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.
3159 3160 3161 3162 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3159 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.
3185 3186 3187 3188 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3185 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.
3259 3260 3261 3262 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3259 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.
3620 3621 3622 3623 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb', line 3620 def update_pipeline(params = {}, = {}) req = build_request(:update_pipeline, params) req.send_request() end |