aws-sdk-codepipeline 1.37.0 → 1.38.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: 6e30728770173e3d4b25bd6c2118bf8fde52dacceb764a66406348bd9a36c02e
4
- data.tar.gz: 23df13d060f6ad4c483edfb567bc4008c57cccc4d4482a415b392422469fcd12
3
+ metadata.gz: '0810f2d6cd12c8380c416169a62ebba15085200a788ed93e47be5b3b71bc5888'
4
+ data.tar.gz: 0f621d56fa201e629e0d7c5985e1db7a4f24c5dea37785a72a750ed0641a74bb
5
5
  SHA512:
6
- metadata.gz: b01b109efbddd59eb049c3424acef834018c294c49884da4e6a3240f9ae47653dd14b5f8c89c34d2758d81f9dd67a927553c591ffd9951e6146d27927ea30c6d
7
- data.tar.gz: b73490945615b04ccb2945db05c32c2dfbd63f24f35cd08577d92ac5b11cdd5e72e60a55a405e383abad66a01e65b2bc19719665611e0f153cbb82868ae2a9c8
6
+ metadata.gz: d771df858a00973e86d16c5c137d6f754917215ef5e2b10ad40e57af5babdaea0dfb07fffd16e96244188290eb244467e3b7164125a269dd672d17ef7f233c2b
7
+ data.tar.gz: 42044db6caace1a7e3b883bf0d1964c03f56394c6d395556f30dae016bcc2705f99636656bb9bff13d97ad8592ab82dafe3275a2b1c7f731831d5b509b367097
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-codepipeline/customizations'
48
48
  # @!group service
49
49
  module Aws::CodePipeline
50
50
 
51
- GEM_VERSION = '1.37.0'
51
+ GEM_VERSION = '1.38.0'
52
52
 
53
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.
@@ -1092,6 +1087,8 @@ module Aws::CodePipeline
1092
1087
  # resp.pipeline_version #=> Integer
1093
1088
  # resp.stage_states #=> Array
1094
1089
  # resp.stage_states[0].stage_name #=> String
1090
+ # resp.stage_states[0].inbound_execution.pipeline_execution_id #=> String
1091
+ # resp.stage_states[0].inbound_execution.status #=> String, one of "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1095
1092
  # resp.stage_states[0].inbound_transition_state.enabled #=> Boolean
1096
1093
  # resp.stage_states[0].inbound_transition_state.last_changed_by #=> String
1097
1094
  # resp.stage_states[0].inbound_transition_state.last_changed_at #=> Time
@@ -1101,6 +1098,7 @@ module Aws::CodePipeline
1101
1098
  # resp.stage_states[0].action_states[0].current_revision.revision_id #=> String
1102
1099
  # resp.stage_states[0].action_states[0].current_revision.revision_change_id #=> String
1103
1100
  # resp.stage_states[0].action_states[0].current_revision.created #=> Time
1101
+ # resp.stage_states[0].action_states[0].latest_execution.action_execution_id #=> String
1104
1102
  # resp.stage_states[0].action_states[0].latest_execution.status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
1105
1103
  # resp.stage_states[0].action_states[0].latest_execution.summary #=> String
1106
1104
  # resp.stage_states[0].action_states[0].latest_execution.last_status_change #=> Time
@@ -2404,7 +2402,7 @@ module Aws::CodePipeline
2404
2402
  params: params,
2405
2403
  config: config)
2406
2404
  context[:gem_name] = 'aws-sdk-codepipeline'
2407
- context[:gem_version] = '1.37.0'
2405
+ context[:gem_version] = '1.38.0'
2408
2406
  Seahorse::Client::Request.new(handlers, context)
2409
2407
  end
2410
2408
 
@@ -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')
@@ -350,6 +351,7 @@ module Aws::CodePipeline
350
351
  ActionDeclaration.add_member(:namespace, Shapes::ShapeRef.new(shape: ActionNamespace, location_name: "namespace"))
351
352
  ActionDeclaration.struct_class = Types::ActionDeclaration
352
353
 
354
+ ActionExecution.add_member(:action_execution_id, Shapes::ShapeRef.new(shape: ActionExecutionId, location_name: "actionExecutionId"))
353
355
  ActionExecution.add_member(:status, Shapes::ShapeRef.new(shape: ActionExecutionStatus, location_name: "status"))
354
356
  ActionExecution.add_member(:summary, Shapes::ShapeRef.new(shape: ExecutionSummary, location_name: "summary"))
355
357
  ActionExecution.add_member(:last_status_change, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStatusChange"))
@@ -488,6 +490,9 @@ module Aws::CodePipeline
488
490
  ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
489
491
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
490
492
 
493
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
494
+ ConflictException.struct_class = Types::ConflictException
495
+
491
496
  CreateCustomActionTypeInput.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, required: true, location_name: "category"))
492
497
  CreateCustomActionTypeInput.add_member(:provider, Shapes::ShapeRef.new(shape: ActionProvider, required: true, location_name: "provider"))
493
498
  CreateCustomActionTypeInput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
@@ -926,6 +931,7 @@ module Aws::CodePipeline
926
931
  StageNotRetryableException.struct_class = Types::StageNotRetryableException
927
932
 
928
933
  StageState.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, location_name: "stageName"))
934
+ StageState.add_member(:inbound_execution, Shapes::ShapeRef.new(shape: StageExecution, location_name: "inboundExecution"))
929
935
  StageState.add_member(:inbound_transition_state, Shapes::ShapeRef.new(shape: TransitionState, location_name: "inboundTransitionState"))
930
936
  StageState.add_member(:action_states, Shapes::ShapeRef.new(shape: ActionStateList, location_name: "actionStates"))
931
937
  StageState.add_member(:latest_execution, Shapes::ShapeRef.new(shape: StageExecution, location_name: "latestExecution"))
@@ -1446,6 +1452,7 @@ module Aws::CodePipeline
1446
1452
  o.input = Shapes::ShapeRef.new(shape: RetryStageExecutionInput)
1447
1453
  o.output = Shapes::ShapeRef.new(shape: RetryStageExecutionOutput)
1448
1454
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1455
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1449
1456
  o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
1450
1457
  o.errors << Shapes::ShapeRef.new(shape: StageNotFoundException)
1451
1458
  o.errors << Shapes::ShapeRef.new(shape: StageNotRetryableException)
@@ -1459,6 +1466,7 @@ module Aws::CodePipeline
1459
1466
  o.input = Shapes::ShapeRef.new(shape: StartPipelineExecutionInput)
1460
1467
  o.output = Shapes::ShapeRef.new(shape: StartPipelineExecutionOutput)
1461
1468
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1469
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1462
1470
  o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
1463
1471
  end)
1464
1472
 
@@ -1469,6 +1477,7 @@ module Aws::CodePipeline
1469
1477
  o.input = Shapes::ShapeRef.new(shape: StopPipelineExecutionInput)
1470
1478
  o.output = Shapes::ShapeRef.new(shape: StopPipelineExecutionOutput)
1471
1479
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1480
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1472
1481
  o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
1473
1482
  o.errors << Shapes::ShapeRef.new(shape: PipelineExecutionNotStoppableException)
1474
1483
  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
@@ -3815,6 +3855,10 @@ module Aws::CodePipeline
3815
3855
  # The name of the stage.
3816
3856
  # @return [String]
3817
3857
  #
3858
+ # @!attribute [rw] inbound_execution
3859
+ # Represents information about the run of a stage.
3860
+ # @return [Types::StageExecution]
3861
+ #
3818
3862
  # @!attribute [rw] inbound_transition_state
3819
3863
  # The state of the inbound transition, which is either enabled or
3820
3864
  # disabled.
@@ -3833,6 +3877,7 @@ module Aws::CodePipeline
3833
3877
  #
3834
3878
  class StageState < Struct.new(
3835
3879
  :stage_name,
3880
+ :inbound_execution,
3836
3881
  :inbound_transition_state,
3837
3882
  :action_states,
3838
3883
  :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.37.0
4
+ version: 1.38.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-09-30 00:00:00.000000000 Z
11
+ date: 2020-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core