aws-sdk-codepipeline 1.33.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 164f95a5f7f7ce572ed621cbf03c422899b6032ed0689b1d06727ffb7ed4e9d6
4
- data.tar.gz: 9fb48718b9dc803453660dffbff73980da5bc5d9cf2ec9bd97b7cb79585b1046
3
+ metadata.gz: '0810f2d6cd12c8380c416169a62ebba15085200a788ed93e47be5b3b71bc5888'
4
+ data.tar.gz: 0f621d56fa201e629e0d7c5985e1db7a4f24c5dea37785a72a750ed0641a74bb
5
5
  SHA512:
6
- metadata.gz: 3c95569b6b2a2f49b82fbfcc04148c3b4484b6a19503518b684a0873af43e286d7883024b113e5851b9462bb002ea398d694732b9ffbd943e353c205b7b17c9d
7
- data.tar.gz: f2405a99b46b9ce8be089707d2dc0f754a9fab8f9f0a3fef0967fd1ad30f6d97ac49b7c1374f8bd160d3a141ae0ade2cd010eea537d4203fa165713e00419933
6
+ metadata.gz: d771df858a00973e86d16c5c137d6f754917215ef5e2b10ad40e57af5babdaea0dfb07fffd16e96244188290eb244467e3b7164125a269dd672d17ef7f233c2b
7
+ data.tar.gz: 42044db6caace1a7e3b883bf0d1964c03f56394c6d395556f30dae016bcc2705f99636656bb9bff13d97ad8592ab82dafe3275a2b1c7f731831d5b509b367097
@@ -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
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-codepipeline/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::CodePipeline
49
50
 
50
- GEM_VERSION = '1.33.0'
51
+ GEM_VERSION = '1.38.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::CodePipeline
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::CodePipeline
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -407,11 +422,6 @@ module Aws::CodePipeline
407
422
  # The category of the custom action, such as a build action or a test
408
423
  # action.
409
424
  #
410
- # <note markdown="1"> Although `Source` and `Approval` are listed as valid values, they are
411
- # not currently functional. These values are reserved for future use.
412
- #
413
- # </note>
414
- #
415
425
  # @option params [required, String] :provider
416
426
  # The provider of the service used in the custom action, such as AWS
417
427
  # CodeDeploy.
@@ -1077,6 +1087,8 @@ module Aws::CodePipeline
1077
1087
  # resp.pipeline_version #=> Integer
1078
1088
  # resp.stage_states #=> Array
1079
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"
1080
1092
  # resp.stage_states[0].inbound_transition_state.enabled #=> Boolean
1081
1093
  # resp.stage_states[0].inbound_transition_state.last_changed_by #=> String
1082
1094
  # resp.stage_states[0].inbound_transition_state.last_changed_at #=> Time
@@ -1086,6 +1098,7 @@ module Aws::CodePipeline
1086
1098
  # resp.stage_states[0].action_states[0].current_revision.revision_id #=> String
1087
1099
  # resp.stage_states[0].action_states[0].current_revision.revision_change_id #=> String
1088
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
1089
1102
  # resp.stage_states[0].action_states[0].latest_execution.status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
1090
1103
  # resp.stage_states[0].action_states[0].latest_execution.summary #=> String
1091
1104
  # resp.stage_states[0].action_states[0].latest_execution.last_status_change #=> Time
@@ -2389,7 +2402,7 @@ module Aws::CodePipeline
2389
2402
  params: params,
2390
2403
  config: config)
2391
2404
  context[:gem_name] = 'aws-sdk-codepipeline'
2392
- context[:gem_version] = '1.33.0'
2405
+ context[:gem_version] = '1.38.0'
2393
2406
  Seahorse::Client::Request.new(handlers, context)
2394
2407
  end
2395
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.33.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-06-23 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
@@ -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.109.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.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement