aws-sdk-codepipeline 1.27.0 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codepipeline.rb +1 -1
- data/lib/aws-sdk-codepipeline/client.rb +75 -21
- data/lib/aws-sdk-codepipeline/client_api.rb +37 -0
- data/lib/aws-sdk-codepipeline/errors.rb +32 -0
- data/lib/aws-sdk-codepipeline/types.rb +154 -24
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3943c415354126cf9a20ce34da1f3182a00b1390
|
4
|
+
data.tar.gz: a9239f034880ab81eae6669e0312c92756f40f91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbc9b7806b907c7e265bb4f87788d943eb9b8fc9c1883cb3ec89d37b8515d6388eacb6ba9d36bddefaab9ae1b0c8ecc9cd96c7a7dcd6114868163c53432966e9
|
7
|
+
data.tar.gz: fe49c4c4d3e4e8c8f0aeacce658b329d20bbf72093c4d742e5a41ee9978f37a124c67fe4498dd889ad2eb42b53a080b4120f26b65461f0acc4f75b10d2caa2d4
|
data/lib/aws-sdk-codepipeline.rb
CHANGED
@@ -806,10 +806,10 @@ module Aws::CodePipeline
|
|
806
806
|
# Returns information about a job. Used for custom actions only.
|
807
807
|
#
|
808
808
|
# When this API is called, AWS CodePipeline returns temporary
|
809
|
-
# credentials for the
|
810
|
-
# pipeline, if the action requires access to that
|
811
|
-
#
|
812
|
-
#
|
809
|
+
# credentials for the S3 bucket used to store artifacts for the
|
810
|
+
# pipeline, if the action requires access to that S3 bucket for input or
|
811
|
+
# output artifacts. This API also returns any secret values defined for
|
812
|
+
# the action.
|
813
813
|
#
|
814
814
|
# @option params [required, String] :job_id
|
815
815
|
# The unique system-generated ID for the job.
|
@@ -969,7 +969,7 @@ module Aws::CodePipeline
|
|
969
969
|
# resp.pipeline_execution.pipeline_name #=> String
|
970
970
|
# resp.pipeline_execution.pipeline_version #=> Integer
|
971
971
|
# resp.pipeline_execution.pipeline_execution_id #=> String
|
972
|
-
# resp.pipeline_execution.status #=> String, one of "InProgress", "Succeeded", "Superseded", "Failed"
|
972
|
+
# resp.pipeline_execution.status #=> String, one of "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
|
973
973
|
# resp.pipeline_execution.artifact_revisions #=> Array
|
974
974
|
# resp.pipeline_execution.artifact_revisions[0].name #=> String
|
975
975
|
# resp.pipeline_execution.artifact_revisions[0].revision_id #=> String
|
@@ -1028,7 +1028,7 @@ module Aws::CodePipeline
|
|
1028
1028
|
# resp.stage_states[0].action_states[0].current_revision.revision_id #=> String
|
1029
1029
|
# resp.stage_states[0].action_states[0].current_revision.revision_change_id #=> String
|
1030
1030
|
# resp.stage_states[0].action_states[0].current_revision.created #=> Time
|
1031
|
-
# resp.stage_states[0].action_states[0].latest_execution.status #=> String, one of "InProgress", "Succeeded", "Failed"
|
1031
|
+
# resp.stage_states[0].action_states[0].latest_execution.status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
|
1032
1032
|
# resp.stage_states[0].action_states[0].latest_execution.summary #=> String
|
1033
1033
|
# resp.stage_states[0].action_states[0].latest_execution.last_status_change #=> Time
|
1034
1034
|
# resp.stage_states[0].action_states[0].latest_execution.token #=> String
|
@@ -1041,7 +1041,7 @@ module Aws::CodePipeline
|
|
1041
1041
|
# resp.stage_states[0].action_states[0].entity_url #=> String
|
1042
1042
|
# resp.stage_states[0].action_states[0].revision_url #=> String
|
1043
1043
|
# resp.stage_states[0].latest_execution.pipeline_execution_id #=> String
|
1044
|
-
# resp.stage_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Succeeded"
|
1044
|
+
# resp.stage_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
|
1045
1045
|
# resp.created #=> Time
|
1046
1046
|
# resp.updated #=> Time
|
1047
1047
|
#
|
@@ -1058,10 +1058,10 @@ module Aws::CodePipeline
|
|
1058
1058
|
# partner actions only.
|
1059
1059
|
#
|
1060
1060
|
# When this API is called, AWS CodePipeline returns temporary
|
1061
|
-
# credentials for the
|
1062
|
-
# pipeline, if the action requires access to that
|
1063
|
-
#
|
1064
|
-
#
|
1061
|
+
# credentials for the S3 bucket used to store artifacts for the
|
1062
|
+
# pipeline, if the action requires access to that S3 bucket for input or
|
1063
|
+
# output artifacts. This API also returns any secret values defined for
|
1064
|
+
# the action.
|
1065
1065
|
#
|
1066
1066
|
# @option params [required, String] :job_id
|
1067
1067
|
# The unique system-generated ID used for identifying the job.
|
@@ -1177,7 +1177,7 @@ module Aws::CodePipeline
|
|
1177
1177
|
# resp.action_execution_details[0].action_name #=> String
|
1178
1178
|
# resp.action_execution_details[0].start_time #=> Time
|
1179
1179
|
# resp.action_execution_details[0].last_update_time #=> Time
|
1180
|
-
# resp.action_execution_details[0].status #=> String, one of "InProgress", "Succeeded", "Failed"
|
1180
|
+
# resp.action_execution_details[0].status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
|
1181
1181
|
# resp.action_execution_details[0].input.action_type_id.category #=> String, one of "Source", "Build", "Deploy", "Test", "Invoke", "Approval"
|
1182
1182
|
# resp.action_execution_details[0].input.action_type_id.owner #=> String, one of "AWS", "ThirdParty", "Custom"
|
1183
1183
|
# resp.action_execution_details[0].input.action_type_id.provider #=> String
|
@@ -1305,7 +1305,7 @@ module Aws::CodePipeline
|
|
1305
1305
|
#
|
1306
1306
|
# resp.pipeline_execution_summaries #=> Array
|
1307
1307
|
# resp.pipeline_execution_summaries[0].pipeline_execution_id #=> String
|
1308
|
-
# resp.pipeline_execution_summaries[0].status #=> String, one of "InProgress", "Succeeded", "Superseded", "Failed"
|
1308
|
+
# resp.pipeline_execution_summaries[0].status #=> String, one of "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
|
1309
1309
|
# resp.pipeline_execution_summaries[0].start_time #=> Time
|
1310
1310
|
# resp.pipeline_execution_summaries[0].last_update_time #=> Time
|
1311
1311
|
# resp.pipeline_execution_summaries[0].source_revisions #=> Array
|
@@ -1315,6 +1315,7 @@ module Aws::CodePipeline
|
|
1315
1315
|
# resp.pipeline_execution_summaries[0].source_revisions[0].revision_url #=> String
|
1316
1316
|
# resp.pipeline_execution_summaries[0].trigger.trigger_type #=> String, one of "CreatePipeline", "StartPipelineExecution", "PollForSourceChanges", "Webhook", "CloudWatchEvent", "PutActionRevision"
|
1317
1317
|
# resp.pipeline_execution_summaries[0].trigger.trigger_detail #=> String
|
1318
|
+
# resp.pipeline_execution_summaries[0].stop_trigger.reason #=> String
|
1318
1319
|
# resp.next_token #=> String
|
1319
1320
|
#
|
1320
1321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions AWS API Documentation
|
@@ -1466,10 +1467,10 @@ module Aws::CodePipeline
|
|
1466
1467
|
# the owner field, the `PollForJobs` action returns an error.
|
1467
1468
|
#
|
1468
1469
|
# When this API is called, AWS CodePipeline returns temporary
|
1469
|
-
# credentials for the
|
1470
|
-
# pipeline, if the action requires access to that
|
1471
|
-
#
|
1472
|
-
#
|
1470
|
+
# credentials for the S3 bucket used to store artifacts for the
|
1471
|
+
# pipeline, if the action requires access to that S3 bucket for input or
|
1472
|
+
# output artifacts. This API also returns any secret values defined for
|
1473
|
+
# the action.
|
1473
1474
|
#
|
1474
1475
|
# @option params [required, Types::ActionTypeId] :action_type_id
|
1475
1476
|
# Represents information about an action type.
|
@@ -1553,9 +1554,9 @@ module Aws::CodePipeline
|
|
1553
1554
|
# act on. Used for partner actions only.
|
1554
1555
|
#
|
1555
1556
|
# When this API is called, AWS CodePipeline returns temporary
|
1556
|
-
# credentials for the
|
1557
|
-
# pipeline, if the action requires access to that
|
1558
|
-
#
|
1557
|
+
# credentials for the S3 bucket used to store artifacts for the
|
1558
|
+
# pipeline, if the action requires access to that S3 bucket for input or
|
1559
|
+
# output artifacts.
|
1559
1560
|
#
|
1560
1561
|
# @option params [required, Types::ActionTypeId] :action_type_id
|
1561
1562
|
# Represents information about an action type.
|
@@ -2069,6 +2070,59 @@ module Aws::CodePipeline
|
|
2069
2070
|
req.send_request(options)
|
2070
2071
|
end
|
2071
2072
|
|
2073
|
+
# Stops the specified pipeline execution. You choose to either stop the
|
2074
|
+
# pipeline execution by completing in-progress actions without starting
|
2075
|
+
# subsequent actions, or by abandoning in-progress actions. While
|
2076
|
+
# completing or abandoning in-progress actions, the pipeline execution
|
2077
|
+
# is in a `Stopping` state. After all in-progress actions are completed
|
2078
|
+
# or abandoned, the pipeline execution is in a `Stopped` state.
|
2079
|
+
#
|
2080
|
+
# @option params [required, String] :pipeline_name
|
2081
|
+
# The name of the pipeline to stop.
|
2082
|
+
#
|
2083
|
+
# @option params [required, String] :pipeline_execution_id
|
2084
|
+
# The ID of the pipeline execution to be stopped in the current stage.
|
2085
|
+
# Use the `GetPipelineState` action to retrieve the current
|
2086
|
+
# pipelineExecutionId.
|
2087
|
+
#
|
2088
|
+
# @option params [Boolean] :abandon
|
2089
|
+
# Use this option to stop the pipeline execution by abandoning, rather
|
2090
|
+
# than finishing, in-progress actions.
|
2091
|
+
#
|
2092
|
+
# <note markdown="1"> This option can lead to failed or out-of-sequence tasks.
|
2093
|
+
#
|
2094
|
+
# </note>
|
2095
|
+
#
|
2096
|
+
# @option params [String] :reason
|
2097
|
+
# Use this option to enter comments, such as the reason the pipeline was
|
2098
|
+
# stopped.
|
2099
|
+
#
|
2100
|
+
# @return [Types::StopPipelineExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2101
|
+
#
|
2102
|
+
# * {Types::StopPipelineExecutionOutput#pipeline_execution_id #pipeline_execution_id} => String
|
2103
|
+
#
|
2104
|
+
# @example Request syntax with placeholder values
|
2105
|
+
#
|
2106
|
+
# resp = client.stop_pipeline_execution({
|
2107
|
+
# pipeline_name: "PipelineName", # required
|
2108
|
+
# pipeline_execution_id: "PipelineExecutionId", # required
|
2109
|
+
# abandon: false,
|
2110
|
+
# reason: "StopPipelineExecutionReason",
|
2111
|
+
# })
|
2112
|
+
#
|
2113
|
+
# @example Response structure
|
2114
|
+
#
|
2115
|
+
# resp.pipeline_execution_id #=> String
|
2116
|
+
#
|
2117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecution AWS API Documentation
|
2118
|
+
#
|
2119
|
+
# @overload stop_pipeline_execution(params = {})
|
2120
|
+
# @param [Hash] params ({})
|
2121
|
+
def stop_pipeline_execution(params = {}, options = {})
|
2122
|
+
req = build_request(:stop_pipeline_execution, params)
|
2123
|
+
req.send_request(options)
|
2124
|
+
end
|
2125
|
+
|
2072
2126
|
# Adds to or modifies the tags of the given resource. Tags are metadata
|
2073
2127
|
# that can be used to manage a resource.
|
2074
2128
|
#
|
@@ -2265,7 +2319,7 @@ module Aws::CodePipeline
|
|
2265
2319
|
params: params,
|
2266
2320
|
config: config)
|
2267
2321
|
context[:gem_name] = 'aws-sdk-codepipeline'
|
2268
|
-
context[:gem_version] = '1.
|
2322
|
+
context[:gem_version] = '1.28.0'
|
2269
2323
|
Seahorse::Client::Request.new(handlers, context)
|
2270
2324
|
end
|
2271
2325
|
|
@@ -97,6 +97,7 @@ module Aws::CodePipeline
|
|
97
97
|
Description = Shapes::StringShape.new(name: 'Description')
|
98
98
|
DisableStageTransitionInput = Shapes::StructureShape.new(name: 'DisableStageTransitionInput')
|
99
99
|
DisabledReason = Shapes::StringShape.new(name: 'DisabledReason')
|
100
|
+
DuplicatedStopRequestException = Shapes::StructureShape.new(name: 'DuplicatedStopRequestException')
|
100
101
|
EnableStageTransitionInput = Shapes::StructureShape.new(name: 'EnableStageTransitionInput')
|
101
102
|
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
102
103
|
EncryptionKey = Shapes::StructureShape.new(name: 'EncryptionKey')
|
@@ -184,6 +185,7 @@ module Aws::CodePipeline
|
|
184
185
|
PipelineExecution = Shapes::StructureShape.new(name: 'PipelineExecution')
|
185
186
|
PipelineExecutionId = Shapes::StringShape.new(name: 'PipelineExecutionId')
|
186
187
|
PipelineExecutionNotFoundException = Shapes::StructureShape.new(name: 'PipelineExecutionNotFoundException')
|
188
|
+
PipelineExecutionNotStoppableException = Shapes::StructureShape.new(name: 'PipelineExecutionNotStoppableException')
|
187
189
|
PipelineExecutionStatus = Shapes::StringShape.new(name: 'PipelineExecutionStatus')
|
188
190
|
PipelineExecutionSummary = Shapes::StructureShape.new(name: 'PipelineExecutionSummary')
|
189
191
|
PipelineExecutionSummaryList = Shapes::ListShape.new(name: 'PipelineExecutionSummaryList')
|
@@ -247,6 +249,10 @@ module Aws::CodePipeline
|
|
247
249
|
StageTransitionType = Shapes::StringShape.new(name: 'StageTransitionType')
|
248
250
|
StartPipelineExecutionInput = Shapes::StructureShape.new(name: 'StartPipelineExecutionInput')
|
249
251
|
StartPipelineExecutionOutput = Shapes::StructureShape.new(name: 'StartPipelineExecutionOutput')
|
252
|
+
StopExecutionTrigger = Shapes::StructureShape.new(name: 'StopExecutionTrigger')
|
253
|
+
StopPipelineExecutionInput = Shapes::StructureShape.new(name: 'StopPipelineExecutionInput')
|
254
|
+
StopPipelineExecutionOutput = Shapes::StructureShape.new(name: 'StopPipelineExecutionOutput')
|
255
|
+
StopPipelineExecutionReason = Shapes::StringShape.new(name: 'StopPipelineExecutionReason')
|
250
256
|
String = Shapes::StringShape.new(name: 'String')
|
251
257
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
252
258
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -526,6 +532,9 @@ module Aws::CodePipeline
|
|
526
532
|
DisableStageTransitionInput.add_member(:reason, Shapes::ShapeRef.new(shape: DisabledReason, required: true, location_name: "reason"))
|
527
533
|
DisableStageTransitionInput.struct_class = Types::DisableStageTransitionInput
|
528
534
|
|
535
|
+
DuplicatedStopRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
536
|
+
DuplicatedStopRequestException.struct_class = Types::DuplicatedStopRequestException
|
537
|
+
|
529
538
|
EnableStageTransitionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
|
530
539
|
EnableStageTransitionInput.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, required: true, location_name: "stageName"))
|
531
540
|
EnableStageTransitionInput.add_member(:transition_type, Shapes::ShapeRef.new(shape: StageTransitionType, required: true, location_name: "transitionType"))
|
@@ -718,12 +727,16 @@ module Aws::CodePipeline
|
|
718
727
|
PipelineExecution.add_member(:artifact_revisions, Shapes::ShapeRef.new(shape: ArtifactRevisionList, location_name: "artifactRevisions"))
|
719
728
|
PipelineExecution.struct_class = Types::PipelineExecution
|
720
729
|
|
730
|
+
PipelineExecutionNotStoppableException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
731
|
+
PipelineExecutionNotStoppableException.struct_class = Types::PipelineExecutionNotStoppableException
|
732
|
+
|
721
733
|
PipelineExecutionSummary.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
|
722
734
|
PipelineExecutionSummary.add_member(:status, Shapes::ShapeRef.new(shape: PipelineExecutionStatus, location_name: "status"))
|
723
735
|
PipelineExecutionSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
|
724
736
|
PipelineExecutionSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
725
737
|
PipelineExecutionSummary.add_member(:source_revisions, Shapes::ShapeRef.new(shape: SourceRevisionList, location_name: "sourceRevisions"))
|
726
738
|
PipelineExecutionSummary.add_member(:trigger, Shapes::ShapeRef.new(shape: ExecutionTrigger, location_name: "trigger"))
|
739
|
+
PipelineExecutionSummary.add_member(:stop_trigger, Shapes::ShapeRef.new(shape: StopExecutionTrigger, location_name: "stopTrigger"))
|
727
740
|
PipelineExecutionSummary.struct_class = Types::PipelineExecutionSummary
|
728
741
|
|
729
742
|
PipelineExecutionSummaryList.member = Shapes::ShapeRef.new(shape: PipelineExecutionSummary)
|
@@ -875,6 +888,18 @@ module Aws::CodePipeline
|
|
875
888
|
StartPipelineExecutionOutput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
|
876
889
|
StartPipelineExecutionOutput.struct_class = Types::StartPipelineExecutionOutput
|
877
890
|
|
891
|
+
StopExecutionTrigger.add_member(:reason, Shapes::ShapeRef.new(shape: StopPipelineExecutionReason, location_name: "reason"))
|
892
|
+
StopExecutionTrigger.struct_class = Types::StopExecutionTrigger
|
893
|
+
|
894
|
+
StopPipelineExecutionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
|
895
|
+
StopPipelineExecutionInput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, required: true, location_name: "pipelineExecutionId"))
|
896
|
+
StopPipelineExecutionInput.add_member(:abandon, Shapes::ShapeRef.new(shape: Boolean, location_name: "abandon"))
|
897
|
+
StopPipelineExecutionInput.add_member(:reason, Shapes::ShapeRef.new(shape: StopPipelineExecutionReason, location_name: "reason"))
|
898
|
+
StopPipelineExecutionInput.struct_class = Types::StopPipelineExecutionInput
|
899
|
+
|
900
|
+
StopPipelineExecutionOutput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
|
901
|
+
StopPipelineExecutionOutput.struct_class = Types::StopPipelineExecutionOutput
|
902
|
+
|
878
903
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
879
904
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
880
905
|
Tag.struct_class = Types::Tag
|
@@ -1381,6 +1406,18 @@ module Aws::CodePipeline
|
|
1381
1406
|
o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
|
1382
1407
|
end)
|
1383
1408
|
|
1409
|
+
api.add_operation(:stop_pipeline_execution, Seahorse::Model::Operation.new.tap do |o|
|
1410
|
+
o.name = "StopPipelineExecution"
|
1411
|
+
o.http_method = "POST"
|
1412
|
+
o.http_request_uri = "/"
|
1413
|
+
o.input = Shapes::ShapeRef.new(shape: StopPipelineExecutionInput)
|
1414
|
+
o.output = Shapes::ShapeRef.new(shape: StopPipelineExecutionOutput)
|
1415
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1416
|
+
o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
|
1417
|
+
o.errors << Shapes::ShapeRef.new(shape: PipelineExecutionNotStoppableException)
|
1418
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicatedStopRequestException)
|
1419
|
+
end)
|
1420
|
+
|
1384
1421
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1385
1422
|
o.name = "TagResource"
|
1386
1423
|
o.http_method = "POST"
|
@@ -26,6 +26,22 @@ module Aws::CodePipeline
|
|
26
26
|
|
27
27
|
end
|
28
28
|
|
29
|
+
class DuplicatedStopRequestException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::CodePipeline::Types::DuplicatedStopRequestException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
29
45
|
class InvalidArnException < ServiceError
|
30
46
|
|
31
47
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -74,6 +90,22 @@ module Aws::CodePipeline
|
|
74
90
|
|
75
91
|
end
|
76
92
|
|
93
|
+
class PipelineExecutionNotStoppableException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::CodePipeline::Types::PipelineExecutionNotStoppableException] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
77
109
|
class TooManyTagsException < ServiceError
|
78
110
|
|
79
111
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -10,9 +10,8 @@ module Aws::CodePipeline
|
|
10
10
|
|
11
11
|
# Represents an AWS session credentials object. These credentials are
|
12
12
|
# temporary credentials that are issued by AWS Secure Token Service
|
13
|
-
# (STS). They can be used to access input and output artifacts in the
|
14
|
-
#
|
15
|
-
# CodePipeline.
|
13
|
+
# (STS). They can be used to access input and output artifacts in the S3
|
14
|
+
# bucket used to store artifact for the pipeline in AWS CodePipeline.
|
16
15
|
#
|
17
16
|
# @!attribute [rw] access_key_id
|
18
17
|
# The access key for the session.
|
@@ -886,7 +885,7 @@ module Aws::CodePipeline
|
|
886
885
|
# @return [String]
|
887
886
|
#
|
888
887
|
# @!attribute [rw] s3_location
|
889
|
-
# The
|
888
|
+
# The S3 bucket that contains the artifact.
|
890
889
|
# @return [Types::S3ArtifactLocation]
|
891
890
|
#
|
892
891
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactLocation AWS API Documentation
|
@@ -944,7 +943,7 @@ module Aws::CodePipeline
|
|
944
943
|
include Aws::Structure
|
945
944
|
end
|
946
945
|
|
947
|
-
# The
|
946
|
+
# The S3 bucket where artifacts for the pipeline are stored.
|
948
947
|
#
|
949
948
|
# <note markdown="1"> You must include either `artifactStore` or `artifactStores` in your
|
950
949
|
# pipeline, but you cannot use both. If you create a cross-region action
|
@@ -969,12 +968,11 @@ module Aws::CodePipeline
|
|
969
968
|
# @return [String]
|
970
969
|
#
|
971
970
|
# @!attribute [rw] location
|
972
|
-
# The
|
973
|
-
#
|
974
|
-
#
|
975
|
-
#
|
976
|
-
#
|
977
|
-
# artifacts.
|
971
|
+
# The S3 bucket used for storing the artifacts for a pipeline. You can
|
972
|
+
# specify the name of an S3 bucket but not a folder in the bucket. A
|
973
|
+
# folder to contain the pipeline artifacts is created for you based on
|
974
|
+
# the name of the pipeline. You can use any S3 bucket in the same AWS
|
975
|
+
# Region as the pipeline to store your pipeline artifacts.
|
978
976
|
# @return [String]
|
979
977
|
#
|
980
978
|
# @!attribute [rw] encryption_key
|
@@ -1453,6 +1451,22 @@ module Aws::CodePipeline
|
|
1453
1451
|
include Aws::Structure
|
1454
1452
|
end
|
1455
1453
|
|
1454
|
+
# The pipeline execution is already in a `Stopping` state. If you
|
1455
|
+
# already chose to stop and wait, you cannot make that request again.
|
1456
|
+
# You can choose to stop and abandon now, but be aware that this option
|
1457
|
+
# can lead to failed tasks or out of sequence tasks. If you already
|
1458
|
+
# chose to stop and abandon, you cannot make that request again.
|
1459
|
+
#
|
1460
|
+
# @!attribute [rw] message
|
1461
|
+
# @return [String]
|
1462
|
+
#
|
1463
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DuplicatedStopRequestException AWS API Documentation
|
1464
|
+
#
|
1465
|
+
class DuplicatedStopRequestException < Struct.new(
|
1466
|
+
:message)
|
1467
|
+
include Aws::Structure
|
1468
|
+
end
|
1469
|
+
|
1456
1470
|
# Represents the input of an `EnableStageTransition` action.
|
1457
1471
|
#
|
1458
1472
|
# @note When making an API call, you may pass EnableStageTransitionInput
|
@@ -1976,7 +1990,7 @@ module Aws::CodePipeline
|
|
1976
1990
|
# Represents an AWS session credentials object. These credentials are
|
1977
1991
|
# temporary credentials that are issued by AWS Secure Token Service
|
1978
1992
|
# (STS). They can be used to access input and output artifacts in the
|
1979
|
-
#
|
1993
|
+
# S3 bucket used to store artifacts for the pipeline in AWS
|
1980
1994
|
# CodePipeline.
|
1981
1995
|
# @return [Types::AWSSessionCredentials]
|
1982
1996
|
#
|
@@ -2558,8 +2572,8 @@ module Aws::CodePipeline
|
|
2558
2572
|
# @return [String]
|
2559
2573
|
#
|
2560
2574
|
# @!attribute [rw] artifact_store
|
2561
|
-
# Represents information about the
|
2562
|
-
#
|
2575
|
+
# Represents information about the S3 bucket where artifacts are
|
2576
|
+
# stored for the pipeline.
|
2563
2577
|
#
|
2564
2578
|
# <note markdown="1"> You must include either `artifactStore` or `artifactStores` in your
|
2565
2579
|
# pipeline, but you cannot use both. If you create a cross-region
|
@@ -2605,11 +2619,12 @@ module Aws::CodePipeline
|
|
2605
2619
|
# Represents information about an execution of a pipeline.
|
2606
2620
|
#
|
2607
2621
|
# @!attribute [rw] pipeline_name
|
2608
|
-
# The name of the pipeline
|
2622
|
+
# The name of the pipeline with the specified pipeline execution.
|
2609
2623
|
# @return [String]
|
2610
2624
|
#
|
2611
2625
|
# @!attribute [rw] pipeline_version
|
2612
|
-
# The version number of the pipeline
|
2626
|
+
# The version number of the pipeline with the specified pipeline
|
2627
|
+
# execution.
|
2613
2628
|
# @return [Integer]
|
2614
2629
|
#
|
2615
2630
|
# @!attribute [rw] pipeline_execution_id
|
@@ -2621,13 +2636,27 @@ module Aws::CodePipeline
|
|
2621
2636
|
#
|
2622
2637
|
# * InProgress: The pipeline execution is currently running.
|
2623
2638
|
#
|
2639
|
+
# * Stopped: The pipeline execution was manually stopped. For more
|
2640
|
+
# information, see [Stopped Executions][1].
|
2641
|
+
#
|
2642
|
+
# * Stopping: The pipeline execution received a request to be manually
|
2643
|
+
# stopped. Depending on the selected stop mode, the execution is
|
2644
|
+
# either completing or abandoning in-progress actions. For more
|
2645
|
+
# information, see [Stopped Executions][1].
|
2646
|
+
#
|
2624
2647
|
# * Succeeded: The pipeline execution was completed successfully.
|
2625
2648
|
#
|
2626
2649
|
# * Superseded: While this pipeline execution was waiting for the next
|
2627
2650
|
# stage to be completed, a newer pipeline execution advanced and
|
2628
|
-
# continued through the pipeline instead.
|
2651
|
+
# continued through the pipeline instead. For more information, see
|
2652
|
+
# [Superseded Executions][2].
|
2629
2653
|
#
|
2630
2654
|
# * Failed: The pipeline execution was not completed successfully.
|
2655
|
+
#
|
2656
|
+
#
|
2657
|
+
#
|
2658
|
+
# [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped
|
2659
|
+
# [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded
|
2631
2660
|
# @return [String]
|
2632
2661
|
#
|
2633
2662
|
# @!attribute [rw] artifact_revisions
|
@@ -2646,6 +2675,19 @@ module Aws::CodePipeline
|
|
2646
2675
|
include Aws::Structure
|
2647
2676
|
end
|
2648
2677
|
|
2678
|
+
# Unable to stop the pipeline execution. The execution might already be
|
2679
|
+
# in a `Stopped` state, or it might no longer be in progress.
|
2680
|
+
#
|
2681
|
+
# @!attribute [rw] message
|
2682
|
+
# @return [String]
|
2683
|
+
#
|
2684
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionNotStoppableException AWS API Documentation
|
2685
|
+
#
|
2686
|
+
class PipelineExecutionNotStoppableException < Struct.new(
|
2687
|
+
:message)
|
2688
|
+
include Aws::Structure
|
2689
|
+
end
|
2690
|
+
|
2649
2691
|
# Summary information about a pipeline execution.
|
2650
2692
|
#
|
2651
2693
|
# @!attribute [rw] pipeline_execution_id
|
@@ -2657,13 +2699,27 @@ module Aws::CodePipeline
|
|
2657
2699
|
#
|
2658
2700
|
# * InProgress: The pipeline execution is currently running.
|
2659
2701
|
#
|
2702
|
+
# * Stopped: The pipeline execution was manually stopped. For more
|
2703
|
+
# information, see [Stopped Executions][1].
|
2704
|
+
#
|
2705
|
+
# * Stopping: The pipeline execution received a request to be manually
|
2706
|
+
# stopped. Depending on the selected stop mode, the execution is
|
2707
|
+
# either completing or abandoning in-progress actions. For more
|
2708
|
+
# information, see [Stopped Executions][1].
|
2709
|
+
#
|
2660
2710
|
# * Succeeded: The pipeline execution was completed successfully.
|
2661
2711
|
#
|
2662
2712
|
# * Superseded: While this pipeline execution was waiting for the next
|
2663
2713
|
# stage to be completed, a newer pipeline execution advanced and
|
2664
|
-
# continued through the pipeline instead.
|
2714
|
+
# continued through the pipeline instead. For more information, see
|
2715
|
+
# [Superseded Executions][2].
|
2665
2716
|
#
|
2666
2717
|
# * Failed: The pipeline execution was not completed successfully.
|
2718
|
+
#
|
2719
|
+
#
|
2720
|
+
#
|
2721
|
+
# [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped
|
2722
|
+
# [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded
|
2667
2723
|
# @return [String]
|
2668
2724
|
#
|
2669
2725
|
# @!attribute [rw] start_time
|
@@ -2686,6 +2742,10 @@ module Aws::CodePipeline
|
|
2686
2742
|
# automated change detection or a `StartPipelineExecution` API call.
|
2687
2743
|
# @return [Types::ExecutionTrigger]
|
2688
2744
|
#
|
2745
|
+
# @!attribute [rw] stop_trigger
|
2746
|
+
# The interaction that stopped a pipeline execution.
|
2747
|
+
# @return [Types::StopExecutionTrigger]
|
2748
|
+
#
|
2689
2749
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionSummary AWS API Documentation
|
2690
2750
|
#
|
2691
2751
|
class PipelineExecutionSummary < Struct.new(
|
@@ -2694,7 +2754,8 @@ module Aws::CodePipeline
|
|
2694
2754
|
:start_time,
|
2695
2755
|
:last_update_time,
|
2696
2756
|
:source_revisions,
|
2697
|
-
:trigger
|
2757
|
+
:trigger,
|
2758
|
+
:stop_trigger)
|
2698
2759
|
include Aws::Structure
|
2699
2760
|
end
|
2700
2761
|
|
@@ -3312,15 +3373,15 @@ module Aws::CodePipeline
|
|
3312
3373
|
include Aws::Structure
|
3313
3374
|
end
|
3314
3375
|
|
3315
|
-
# The location of the
|
3376
|
+
# The location of the S3 bucket that contains a revision.
|
3316
3377
|
#
|
3317
3378
|
# @!attribute [rw] bucket_name
|
3318
|
-
# The name of the
|
3379
|
+
# The name of the S3 bucket.
|
3319
3380
|
# @return [String]
|
3320
3381
|
#
|
3321
3382
|
# @!attribute [rw] object_key
|
3322
|
-
# The key of the object in the
|
3323
|
-
#
|
3383
|
+
# The key of the object in the S3 bucket, which uniquely identifies
|
3384
|
+
# the object in the bucket.
|
3324
3385
|
# @return [String]
|
3325
3386
|
#
|
3326
3387
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/S3ArtifactLocation AWS API Documentation
|
@@ -3556,6 +3617,75 @@ module Aws::CodePipeline
|
|
3556
3617
|
include Aws::Structure
|
3557
3618
|
end
|
3558
3619
|
|
3620
|
+
# The interaction that stopped a pipeline execution.
|
3621
|
+
#
|
3622
|
+
# @!attribute [rw] reason
|
3623
|
+
# The user-specified reason the pipeline was stopped.
|
3624
|
+
# @return [String]
|
3625
|
+
#
|
3626
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopExecutionTrigger AWS API Documentation
|
3627
|
+
#
|
3628
|
+
class StopExecutionTrigger < Struct.new(
|
3629
|
+
:reason)
|
3630
|
+
include Aws::Structure
|
3631
|
+
end
|
3632
|
+
|
3633
|
+
# @note When making an API call, you may pass StopPipelineExecutionInput
|
3634
|
+
# data as a hash:
|
3635
|
+
#
|
3636
|
+
# {
|
3637
|
+
# pipeline_name: "PipelineName", # required
|
3638
|
+
# pipeline_execution_id: "PipelineExecutionId", # required
|
3639
|
+
# abandon: false,
|
3640
|
+
# reason: "StopPipelineExecutionReason",
|
3641
|
+
# }
|
3642
|
+
#
|
3643
|
+
# @!attribute [rw] pipeline_name
|
3644
|
+
# The name of the pipeline to stop.
|
3645
|
+
# @return [String]
|
3646
|
+
#
|
3647
|
+
# @!attribute [rw] pipeline_execution_id
|
3648
|
+
# The ID of the pipeline execution to be stopped in the current stage.
|
3649
|
+
# Use the `GetPipelineState` action to retrieve the current
|
3650
|
+
# pipelineExecutionId.
|
3651
|
+
# @return [String]
|
3652
|
+
#
|
3653
|
+
# @!attribute [rw] abandon
|
3654
|
+
# Use this option to stop the pipeline execution by abandoning, rather
|
3655
|
+
# than finishing, in-progress actions.
|
3656
|
+
#
|
3657
|
+
# <note markdown="1"> This option can lead to failed or out-of-sequence tasks.
|
3658
|
+
#
|
3659
|
+
# </note>
|
3660
|
+
# @return [Boolean]
|
3661
|
+
#
|
3662
|
+
# @!attribute [rw] reason
|
3663
|
+
# Use this option to enter comments, such as the reason the pipeline
|
3664
|
+
# was stopped.
|
3665
|
+
# @return [String]
|
3666
|
+
#
|
3667
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecutionInput AWS API Documentation
|
3668
|
+
#
|
3669
|
+
class StopPipelineExecutionInput < Struct.new(
|
3670
|
+
:pipeline_name,
|
3671
|
+
:pipeline_execution_id,
|
3672
|
+
:abandon,
|
3673
|
+
:reason)
|
3674
|
+
include Aws::Structure
|
3675
|
+
end
|
3676
|
+
|
3677
|
+
# @!attribute [rw] pipeline_execution_id
|
3678
|
+
# The unique system-generated ID of the pipeline execution that was
|
3679
|
+
# stopped.
|
3680
|
+
# @return [String]
|
3681
|
+
#
|
3682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecutionOutput AWS API Documentation
|
3683
|
+
#
|
3684
|
+
class StopPipelineExecutionOutput < Struct.new(
|
3685
|
+
:pipeline_execution_id)
|
3686
|
+
include Aws::Structure
|
3687
|
+
end
|
3688
|
+
|
3559
3689
|
# A tag is a key-value pair that is used to manage the resource.
|
3560
3690
|
#
|
3561
3691
|
# @note When making an API call, you may pass Tag
|
@@ -3674,7 +3804,7 @@ module Aws::CodePipeline
|
|
3674
3804
|
# Represents an AWS session credentials object. These credentials are
|
3675
3805
|
# temporary credentials that are issued by AWS Secure Token Service
|
3676
3806
|
# (STS). They can be used to access input and output artifacts in the
|
3677
|
-
#
|
3807
|
+
# S3 bucket used to store artifact for the pipeline in AWS
|
3678
3808
|
# CodePipeline.
|
3679
3809
|
# @return [Types::AWSSessionCredentials]
|
3680
3810
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codepipeline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|