aws-sdk-codepipeline 1.35.0 → 1.40.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5893337aa1ad187102055f1779de5cf3359824e469511bccf5e07a4f2a282182
4
- data.tar.gz: 72cf230e05accc87b3a9f75d630d9197792b4da85126e9d33d988ea81a73c09b
3
+ metadata.gz: df7b2143b91ca24795618885491cec9c8041af4e85a4024c7b737da44a334293
4
+ data.tar.gz: 3ea660115d2d7faee1352aec8a6eb47f3411f686619169155f1f24ff351d28e5
5
5
  SHA512:
6
- metadata.gz: ca0f8efe903a368940e3cb356c7001e38dc611e5ec166c431da1ac5527335f89cd372bf015444ec7f8c046fe98b2421a004f2762052cc2e2db4321df8815611d
7
- data.tar.gz: 9279b1161361d00b882977d631d2426b61c2b058c05adf0cb77f95f6f15092454f1a4be8c1abc7adaa8245fa0833fe77e7aa19bb2ae7eeace60885472b3746f4
6
+ metadata.gz: 1725929dc9f14483aa03061687d98715298c87ec9aff01023f7cfaf05641b1508d7b50328438de81cc40fc58ab297e62c5fad7d10b9dfd1f91e2aa925bb5703f
7
+ data.tar.gz: beb9f099a462cb3f897d18ffd3b10b4910055da8bf408a6669fe6ce7c179a1f898901c96f7cc75d2a6a8e2b5607d257434f7c3150f31834515171c57386c467a
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-codepipeline/customizations'
47
48
  # @!group service
48
49
  module Aws::CodePipeline
49
50
 
50
- GEM_VERSION = '1.35.0'
51
+ GEM_VERSION = '1.40.0'
51
52
 
52
53
  end
@@ -422,11 +422,6 @@ module Aws::CodePipeline
422
422
  # The category of the custom action, such as a build action or a test
423
423
  # action.
424
424
  #
425
- # <note markdown="1"> Although `Source` and `Approval` are listed as valid values, they are
426
- # not currently functional. These values are reserved for future use.
427
- #
428
- # </note>
429
- #
430
425
  # @option params [required, String] :provider
431
426
  # The provider of the service used in the custom action, such as AWS
432
427
  # CodeDeploy.
@@ -1042,7 +1037,8 @@ module Aws::CodePipeline
1042
1037
  # resp.pipeline_execution.pipeline_name #=> String
1043
1038
  # resp.pipeline_execution.pipeline_version #=> Integer
1044
1039
  # resp.pipeline_execution.pipeline_execution_id #=> String
1045
- # resp.pipeline_execution.status #=> String, one of "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
1040
+ # resp.pipeline_execution.status #=> String, one of "Cancelled", "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
1041
+ # resp.pipeline_execution.status_summary #=> String
1046
1042
  # resp.pipeline_execution.artifact_revisions #=> Array
1047
1043
  # resp.pipeline_execution.artifact_revisions[0].name #=> String
1048
1044
  # resp.pipeline_execution.artifact_revisions[0].revision_id #=> String
@@ -1092,6 +1088,8 @@ module Aws::CodePipeline
1092
1088
  # resp.pipeline_version #=> Integer
1093
1089
  # resp.stage_states #=> Array
1094
1090
  # resp.stage_states[0].stage_name #=> String
1091
+ # resp.stage_states[0].inbound_execution.pipeline_execution_id #=> String
1092
+ # resp.stage_states[0].inbound_execution.status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1095
1093
  # resp.stage_states[0].inbound_transition_state.enabled #=> Boolean
1096
1094
  # resp.stage_states[0].inbound_transition_state.last_changed_by #=> String
1097
1095
  # resp.stage_states[0].inbound_transition_state.last_changed_at #=> Time
@@ -1101,6 +1099,7 @@ module Aws::CodePipeline
1101
1099
  # resp.stage_states[0].action_states[0].current_revision.revision_id #=> String
1102
1100
  # resp.stage_states[0].action_states[0].current_revision.revision_change_id #=> String
1103
1101
  # resp.stage_states[0].action_states[0].current_revision.created #=> Time
1102
+ # resp.stage_states[0].action_states[0].latest_execution.action_execution_id #=> String
1104
1103
  # resp.stage_states[0].action_states[0].latest_execution.status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
1105
1104
  # resp.stage_states[0].action_states[0].latest_execution.summary #=> String
1106
1105
  # resp.stage_states[0].action_states[0].latest_execution.last_status_change #=> Time
@@ -1114,7 +1113,7 @@ module Aws::CodePipeline
1114
1113
  # resp.stage_states[0].action_states[0].entity_url #=> String
1115
1114
  # resp.stage_states[0].action_states[0].revision_url #=> String
1116
1115
  # resp.stage_states[0].latest_execution.pipeline_execution_id #=> String
1117
- # resp.stage_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1116
+ # resp.stage_states[0].latest_execution.status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1118
1117
  # resp.created #=> Time
1119
1118
  # resp.updated #=> Time
1120
1119
  #
@@ -1384,7 +1383,7 @@ module Aws::CodePipeline
1384
1383
  #
1385
1384
  # resp.pipeline_execution_summaries #=> Array
1386
1385
  # resp.pipeline_execution_summaries[0].pipeline_execution_id #=> String
1387
- # resp.pipeline_execution_summaries[0].status #=> String, one of "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
1386
+ # resp.pipeline_execution_summaries[0].status #=> String, one of "Cancelled", "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
1388
1387
  # resp.pipeline_execution_summaries[0].start_time #=> Time
1389
1388
  # resp.pipeline_execution_summaries[0].last_update_time #=> Time
1390
1389
  # resp.pipeline_execution_summaries[0].source_revisions #=> Array
@@ -2404,7 +2403,7 @@ module Aws::CodePipeline
2404
2403
  params: params,
2405
2404
  config: config)
2406
2405
  context[:gem_name] = 'aws-sdk-codepipeline'
2407
- context[:gem_version] = '1.35.0'
2406
+ context[:gem_version] = '1.40.0'
2408
2407
  Seahorse::Client::Request.new(handlers, context)
2409
2408
  end
2410
2409
 
@@ -84,6 +84,7 @@ module Aws::CodePipeline
84
84
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
85
85
  Code = Shapes::StringShape.new(name: 'Code')
86
86
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
87
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
87
88
  ContinuationToken = Shapes::StringShape.new(name: 'ContinuationToken')
88
89
  CreateCustomActionTypeInput = Shapes::StructureShape.new(name: 'CreateCustomActionTypeInput')
89
90
  CreateCustomActionTypeOutput = Shapes::StructureShape.new(name: 'CreateCustomActionTypeOutput')
@@ -189,6 +190,7 @@ module Aws::CodePipeline
189
190
  PipelineExecutionNotFoundException = Shapes::StructureShape.new(name: 'PipelineExecutionNotFoundException')
190
191
  PipelineExecutionNotStoppableException = Shapes::StructureShape.new(name: 'PipelineExecutionNotStoppableException')
191
192
  PipelineExecutionStatus = Shapes::StringShape.new(name: 'PipelineExecutionStatus')
193
+ PipelineExecutionStatusSummary = Shapes::StringShape.new(name: 'PipelineExecutionStatusSummary')
192
194
  PipelineExecutionSummary = Shapes::StructureShape.new(name: 'PipelineExecutionSummary')
193
195
  PipelineExecutionSummaryList = Shapes::ListShape.new(name: 'PipelineExecutionSummaryList')
194
196
  PipelineList = Shapes::ListShape.new(name: 'PipelineList')
@@ -350,6 +352,7 @@ module Aws::CodePipeline
350
352
  ActionDeclaration.add_member(:namespace, Shapes::ShapeRef.new(shape: ActionNamespace, location_name: "namespace"))
351
353
  ActionDeclaration.struct_class = Types::ActionDeclaration
352
354
 
355
+ ActionExecution.add_member(:action_execution_id, Shapes::ShapeRef.new(shape: ActionExecutionId, location_name: "actionExecutionId"))
353
356
  ActionExecution.add_member(:status, Shapes::ShapeRef.new(shape: ActionExecutionStatus, location_name: "status"))
354
357
  ActionExecution.add_member(:summary, Shapes::ShapeRef.new(shape: ExecutionSummary, location_name: "summary"))
355
358
  ActionExecution.add_member(:last_status_change, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStatusChange"))
@@ -488,6 +491,9 @@ module Aws::CodePipeline
488
491
  ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
489
492
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
490
493
 
494
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
495
+ ConflictException.struct_class = Types::ConflictException
496
+
491
497
  CreateCustomActionTypeInput.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, required: true, location_name: "category"))
492
498
  CreateCustomActionTypeInput.add_member(:provider, Shapes::ShapeRef.new(shape: ActionProvider, required: true, location_name: "provider"))
493
499
  CreateCustomActionTypeInput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
@@ -762,6 +768,7 @@ module Aws::CodePipeline
762
768
  PipelineExecution.add_member(:pipeline_version, Shapes::ShapeRef.new(shape: PipelineVersion, location_name: "pipelineVersion"))
763
769
  PipelineExecution.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
764
770
  PipelineExecution.add_member(:status, Shapes::ShapeRef.new(shape: PipelineExecutionStatus, location_name: "status"))
771
+ PipelineExecution.add_member(:status_summary, Shapes::ShapeRef.new(shape: PipelineExecutionStatusSummary, location_name: "statusSummary"))
765
772
  PipelineExecution.add_member(:artifact_revisions, Shapes::ShapeRef.new(shape: ArtifactRevisionList, location_name: "artifactRevisions"))
766
773
  PipelineExecution.struct_class = Types::PipelineExecution
767
774
 
@@ -926,6 +933,7 @@ module Aws::CodePipeline
926
933
  StageNotRetryableException.struct_class = Types::StageNotRetryableException
927
934
 
928
935
  StageState.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, location_name: "stageName"))
936
+ StageState.add_member(:inbound_execution, Shapes::ShapeRef.new(shape: StageExecution, location_name: "inboundExecution"))
929
937
  StageState.add_member(:inbound_transition_state, Shapes::ShapeRef.new(shape: TransitionState, location_name: "inboundTransitionState"))
930
938
  StageState.add_member(:action_states, Shapes::ShapeRef.new(shape: ActionStateList, location_name: "actionStates"))
931
939
  StageState.add_member(:latest_execution, Shapes::ShapeRef.new(shape: StageExecution, location_name: "latestExecution"))
@@ -1446,6 +1454,7 @@ module Aws::CodePipeline
1446
1454
  o.input = Shapes::ShapeRef.new(shape: RetryStageExecutionInput)
1447
1455
  o.output = Shapes::ShapeRef.new(shape: RetryStageExecutionOutput)
1448
1456
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1457
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1449
1458
  o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
1450
1459
  o.errors << Shapes::ShapeRef.new(shape: StageNotFoundException)
1451
1460
  o.errors << Shapes::ShapeRef.new(shape: StageNotRetryableException)
@@ -1459,6 +1468,7 @@ module Aws::CodePipeline
1459
1468
  o.input = Shapes::ShapeRef.new(shape: StartPipelineExecutionInput)
1460
1469
  o.output = Shapes::ShapeRef.new(shape: StartPipelineExecutionOutput)
1461
1470
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1471
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1462
1472
  o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
1463
1473
  end)
1464
1474
 
@@ -1469,6 +1479,7 @@ module Aws::CodePipeline
1469
1479
  o.input = Shapes::ShapeRef.new(shape: StopPipelineExecutionInput)
1470
1480
  o.output = Shapes::ShapeRef.new(shape: StopPipelineExecutionOutput)
1471
1481
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1482
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1472
1483
  o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
1473
1484
  o.errors << Shapes::ShapeRef.new(shape: PipelineExecutionNotStoppableException)
1474
1485
  o.errors << Shapes::ShapeRef.new(shape: DuplicatedStopRequestException)
@@ -31,6 +31,7 @@ module Aws::CodePipeline
31
31
  # * {ActionTypeNotFoundException}
32
32
  # * {ApprovalAlreadyCompletedException}
33
33
  # * {ConcurrentModificationException}
34
+ # * {ConflictException}
34
35
  # * {DuplicatedStopRequestException}
35
36
  # * {InvalidActionDeclarationException}
36
37
  # * {InvalidApprovalTokenException}
@@ -113,6 +114,21 @@ module Aws::CodePipeline
113
114
  end
114
115
  end
115
116
 
117
+ class ConflictException < ServiceError
118
+
119
+ # @param [Seahorse::Client::RequestContext] context
120
+ # @param [String] message
121
+ # @param [Aws::CodePipeline::Types::ConflictException] data
122
+ def initialize(context, message, data = Aws::EmptyStructure.new)
123
+ super(context, message, data)
124
+ end
125
+
126
+ # @return [String]
127
+ def message
128
+ @message || @data[:message]
129
+ end
130
+ end
131
+
116
132
  class DuplicatedStopRequestException < ServiceError
117
133
 
118
134
  # @param [Seahorse::Client::RequestContext] context
@@ -352,6 +352,17 @@ module Aws::CodePipeline
352
352
 
353
353
  # Represents information about the run of an action.
354
354
  #
355
+ # @!attribute [rw] action_execution_id
356
+ # ID of the workflow action execution in the current stage. Use the
357
+ # GetPipelineState action to retrieve the current action execution
358
+ # details of the current stage.
359
+ #
360
+ # <note markdown="1"> For older executions, this field might be empty. The action
361
+ # execution ID is available for executions run on or after March 2020.
362
+ #
363
+ # </note>
364
+ # @return [String]
365
+ #
355
366
  # @!attribute [rw] status
356
367
  # The status of the action, or for a completed action, the last status
357
368
  # of the action.
@@ -396,6 +407,7 @@ module Aws::CodePipeline
396
407
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecution AWS API Documentation
397
408
  #
398
409
  class ActionExecution < Struct.new(
410
+ :action_execution_id,
399
411
  :status,
400
412
  :summary,
401
413
  :last_status_change,
@@ -725,10 +737,30 @@ module Aws::CodePipeline
725
737
  # A category defines what kind of action can be taken in the stage,
726
738
  # and constrains the provider type for the action. Valid categories
727
739
  # are limited to one of the following values.
740
+ #
741
+ # * Source
742
+ #
743
+ # * Build
744
+ #
745
+ # * Test
746
+ #
747
+ # * Deploy
748
+ #
749
+ # * Invoke
750
+ #
751
+ # * Approval
728
752
  # @return [String]
729
753
  #
730
754
  # @!attribute [rw] owner
731
- # The creator of the action being called.
755
+ # The creator of the action being called. There are three valid values
756
+ # for the `Owner` field in the action category section within your
757
+ # pipeline structure: `AWS`, `ThirdParty`, and `Custom`. For more
758
+ # information, see [Valid Action Types and Providers in
759
+ # CodePipeline][1].
760
+ #
761
+ #
762
+ #
763
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#actions-valid-providers
732
764
  # @return [String]
733
765
  #
734
766
  # @!attribute [rw] provider
@@ -1077,6 +1109,20 @@ module Aws::CodePipeline
1077
1109
  include Aws::Structure
1078
1110
  end
1079
1111
 
1112
+ # Your request cannot be handled because the pipeline is busy handling
1113
+ # ongoing activities. Try again later.
1114
+ #
1115
+ # @!attribute [rw] message
1116
+ # @return [String]
1117
+ #
1118
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ConflictException AWS API Documentation
1119
+ #
1120
+ class ConflictException < Struct.new(
1121
+ :message)
1122
+ SENSITIVE = []
1123
+ include Aws::Structure
1124
+ end
1125
+
1080
1126
  # Represents the input of a CreateCustomActionType operation.
1081
1127
  #
1082
1128
  # @note When making an API call, you may pass CreateCustomActionTypeInput
@@ -1122,12 +1168,6 @@ module Aws::CodePipeline
1122
1168
  # @!attribute [rw] category
1123
1169
  # The category of the custom action, such as a build action or a test
1124
1170
  # action.
1125
- #
1126
- # <note markdown="1"> Although `Source` and `Approval` are listed as valid values, they
1127
- # are not currently functional. These values are reserved for future
1128
- # use.
1129
- #
1130
- # </note>
1131
1171
  # @return [String]
1132
1172
  #
1133
1173
  # @!attribute [rw] provider
@@ -2753,7 +2793,7 @@ module Aws::CodePipeline
2753
2793
  # }
2754
2794
  #
2755
2795
  # @!attribute [rw] name
2756
- # The name of the action to be performed.
2796
+ # The name of the pipeline.
2757
2797
  # @return [String]
2758
2798
  #
2759
2799
  # @!attribute [rw] role_arn
@@ -2826,6 +2866,9 @@ module Aws::CodePipeline
2826
2866
  # @!attribute [rw] status
2827
2867
  # The status of the pipeline execution.
2828
2868
  #
2869
+ # * Cancelled: The pipeline’s definition was updated before the
2870
+ # pipeline execution could be completed.
2871
+ #
2829
2872
  # * InProgress: The pipeline execution is currently running.
2830
2873
  #
2831
2874
  # * Stopped: The pipeline execution was manually stopped. For more
@@ -2851,6 +2894,11 @@ module Aws::CodePipeline
2851
2894
  # [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded
2852
2895
  # @return [String]
2853
2896
  #
2897
+ # @!attribute [rw] status_summary
2898
+ # A summary that contains a description of the pipeline execution
2899
+ # status.
2900
+ # @return [String]
2901
+ #
2854
2902
  # @!attribute [rw] artifact_revisions
2855
2903
  # A list of `ArtifactRevision` objects included in a pipeline
2856
2904
  # execution.
@@ -2863,6 +2911,7 @@ module Aws::CodePipeline
2863
2911
  :pipeline_version,
2864
2912
  :pipeline_execution_id,
2865
2913
  :status,
2914
+ :status_summary,
2866
2915
  :artifact_revisions)
2867
2916
  SENSITIVE = []
2868
2917
  include Aws::Structure
@@ -3784,6 +3833,11 @@ module Aws::CodePipeline
3784
3833
  # @!attribute [rw] status
3785
3834
  # The status of the stage, or for a completed stage, the last status
3786
3835
  # of the stage.
3836
+ #
3837
+ # <note markdown="1"> A status of cancelled means that the pipeline’s definition was
3838
+ # updated before the stage execution could be completed.
3839
+ #
3840
+ # </note>
3787
3841
  # @return [String]
3788
3842
  #
3789
3843
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageExecution AWS API Documentation
@@ -3815,6 +3869,10 @@ module Aws::CodePipeline
3815
3869
  # The name of the stage.
3816
3870
  # @return [String]
3817
3871
  #
3872
+ # @!attribute [rw] inbound_execution
3873
+ # Represents information about the run of a stage.
3874
+ # @return [Types::StageExecution]
3875
+ #
3818
3876
  # @!attribute [rw] inbound_transition_state
3819
3877
  # The state of the inbound transition, which is either enabled or
3820
3878
  # disabled.
@@ -3833,6 +3891,7 @@ module Aws::CodePipeline
3833
3891
  #
3834
3892
  class StageState < Struct.new(
3835
3893
  :stage_name,
3894
+ :inbound_execution,
3836
3895
  :inbound_transition_state,
3837
3896
  :action_states,
3838
3897
  :latest_execution)
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.35.0
4
+ version: 1.40.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: 2020-08-25 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.112.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement