aws-sdk-codepipeline 1.23.0 → 1.24.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
  SHA1:
3
- metadata.gz: db716a9a70f43837e41940193c745437c51bfe31
4
- data.tar.gz: e3cef6b83ca3a2d8eb75d6030641968a01a973b1
3
+ metadata.gz: fab1a77dda5e5ee036a766f07eaf1b50c4a32005
4
+ data.tar.gz: b2dc8c5ea6dcaf1c9c5a3711c731558ade8100de
5
5
  SHA512:
6
- metadata.gz: b4c92f586ce68129f6b0e605871f397d60d4e0c4c21f119faa97299f47655efa9260eaa8947a369459af3f4c22c711b952263af98da20381714786727f0e452e
7
- data.tar.gz: a1ab737adf4be7fef0140f5b06f327d3cde21c5b85503c53b47ffc5986e4a91bce27158aa751a7144499502e6b79be5df60342dae3fb1d687f518dbe0953e5b3
6
+ metadata.gz: 412ab350b8d2ecf4b38a5b6f8ae785e6f6e383c2cad35266ed2c23df4715c6713b949b76dddf1513b9214a1e3e957ecc6362b58c7c216a9023411a755a2e92ea
7
+ data.tar.gz: 9634ff9c2b5ec7bc2233c26f9011f32c22ed8c4841f569a82586772a7ecccdf222d120bd732c78a8453d6856053e2b4cafabc4d2f518576ccd2495072c2b058e
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-codepipeline/customizations'
42
42
  # @service
43
43
  module Aws::CodePipeline
44
44
 
45
- GEM_VERSION = '1.23.0'
45
+ GEM_VERSION = '1.24.0'
46
46
 
47
47
  end
@@ -471,6 +471,13 @@ module Aws::CodePipeline
471
471
 
472
472
  # Creates a pipeline.
473
473
  #
474
+ # <note markdown="1"> In the pipeline structure, you must include either `artifactStore` or
475
+ # `artifactStores` in your pipeline, but you cannot use both. If you
476
+ # create a cross-region action in your pipeline, you must use
477
+ # `artifactStores`.
478
+ #
479
+ # </note>
480
+ #
474
481
  # @option params [required, Types::PipelineDeclaration] :pipeline
475
482
  # Represents the structure of actions and stages to be performed in the
476
483
  # pipeline.
@@ -1299,6 +1306,8 @@ module Aws::CodePipeline
1299
1306
  # resp.pipeline_execution_summaries[0].source_revisions[0].revision_id #=> String
1300
1307
  # resp.pipeline_execution_summaries[0].source_revisions[0].revision_summary #=> String
1301
1308
  # resp.pipeline_execution_summaries[0].source_revisions[0].revision_url #=> String
1309
+ # resp.pipeline_execution_summaries[0].trigger.trigger_type #=> String, one of "CreatePipeline", "StartPipelineExecution", "PollForSourceChanges", "Webhook", "CloudWatchEvent", "PutActionRevision"
1310
+ # resp.pipeline_execution_summaries[0].trigger.trigger_detail #=> String
1302
1311
  # resp.next_token #=> String
1303
1312
  #
1304
1313
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions AWS API Documentation
@@ -2240,7 +2249,7 @@ module Aws::CodePipeline
2240
2249
  params: params,
2241
2250
  config: config)
2242
2251
  context[:gem_name] = 'aws-sdk-codepipeline'
2243
- context[:gem_version] = '1.23.0'
2252
+ context[:gem_version] = '1.24.0'
2244
2253
  Seahorse::Client::Request.new(handlers, context)
2245
2254
  end
2246
2255
 
@@ -105,6 +105,7 @@ module Aws::CodePipeline
105
105
  ExecutionDetails = Shapes::StructureShape.new(name: 'ExecutionDetails')
106
106
  ExecutionId = Shapes::StringShape.new(name: 'ExecutionId')
107
107
  ExecutionSummary = Shapes::StringShape.new(name: 'ExecutionSummary')
108
+ ExecutionTrigger = Shapes::StructureShape.new(name: 'ExecutionTrigger')
108
109
  ExternalExecutionId = Shapes::StringShape.new(name: 'ExternalExecutionId')
109
110
  ExternalExecutionSummary = Shapes::StringShape.new(name: 'ExternalExecutionSummary')
110
111
  FailureDetails = Shapes::StructureShape.new(name: 'FailureDetails')
@@ -256,6 +257,8 @@ module Aws::CodePipeline
256
257
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
257
258
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
258
259
  TransitionState = Shapes::StructureShape.new(name: 'TransitionState')
260
+ TriggerDetail = Shapes::StringShape.new(name: 'TriggerDetail')
261
+ TriggerType = Shapes::StringShape.new(name: 'TriggerType')
259
262
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
260
263
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
261
264
  UpdatePipelineInput = Shapes::StructureShape.new(name: 'UpdatePipelineInput')
@@ -530,6 +533,10 @@ module Aws::CodePipeline
530
533
  ExecutionDetails.add_member(:percent_complete, Shapes::ShapeRef.new(shape: Percentage, location_name: "percentComplete"))
531
534
  ExecutionDetails.struct_class = Types::ExecutionDetails
532
535
 
536
+ ExecutionTrigger.add_member(:trigger_type, Shapes::ShapeRef.new(shape: TriggerType, location_name: "triggerType"))
537
+ ExecutionTrigger.add_member(:trigger_detail, Shapes::ShapeRef.new(shape: TriggerDetail, location_name: "triggerDetail"))
538
+ ExecutionTrigger.struct_class = Types::ExecutionTrigger
539
+
533
540
  FailureDetails.add_member(:type, Shapes::ShapeRef.new(shape: FailureType, required: true, location_name: "type"))
534
541
  FailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "message"))
535
542
  FailureDetails.add_member(:external_execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "externalExecutionId"))
@@ -699,6 +706,7 @@ module Aws::CodePipeline
699
706
  PipelineExecutionSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
700
707
  PipelineExecutionSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
701
708
  PipelineExecutionSummary.add_member(:source_revisions, Shapes::ShapeRef.new(shape: SourceRevisionList, location_name: "sourceRevisions"))
709
+ PipelineExecutionSummary.add_member(:trigger, Shapes::ShapeRef.new(shape: ExecutionTrigger, location_name: "trigger"))
702
710
  PipelineExecutionSummary.struct_class = Types::PipelineExecutionSummary
703
711
 
704
712
  PipelineExecutionSummaryList.member = Shapes::ShapeRef.new(shape: PipelineExecutionSummary)
@@ -270,7 +270,7 @@ module Aws::CodePipeline
270
270
  # @return [String]
271
271
  #
272
272
  # @!attribute [rw] action_type_id
273
- # The configuration information for the action type.
273
+ # Specifies the action type and the provider of the action.
274
274
  # @return [Types::ActionTypeId]
275
275
  #
276
276
  # @!attribute [rw] run_order
@@ -278,7 +278,27 @@ module Aws::CodePipeline
278
278
  # @return [Integer]
279
279
  #
280
280
  # @!attribute [rw] configuration
281
- # The action declaration's configuration.
281
+ # The action's configuration. These are key-value pairs that specify
282
+ # input values for an action. For more information, see [Action
283
+ # Structure Requirements in CodePipeline][1]. For the list of
284
+ # configuration properties for the AWS CloudFormation action type in
285
+ # CodePipeline, see [Configuration Properties Reference][2] in the
286
+ # *AWS CloudFormation User Guide*. For template snippets with
287
+ # examples, see [Using Parameter Override Functions with CodePipeline
288
+ # Pipelines][3] in the *AWS CloudFormation User Guide*.
289
+ #
290
+ # The values can be represented in either JSON or YAML format. For
291
+ # example, the JSON configuration item format is as follows:
292
+ #
293
+ # *JSON:*
294
+ #
295
+ # `"Configuration" : \{ Key : Value \},`
296
+ #
297
+ #
298
+ #
299
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements
300
+ # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-action-reference.html
301
+ # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-parameter-override-functions.html
282
302
  # @return [Hash<String,String>]
283
303
  #
284
304
  # @!attribute [rw] output_artifacts
@@ -903,6 +923,12 @@ module Aws::CodePipeline
903
923
 
904
924
  # The Amazon S3 bucket where artifacts are stored for the pipeline.
905
925
  #
926
+ # <note markdown="1"> You must include either `artifactStore` or `artifactStores` in your
927
+ # pipeline, but you cannot use both. If you create a cross-region action
928
+ # in your pipeline, you must use `artifactStores`.
929
+ #
930
+ # </note>
931
+ #
906
932
  # @note When making an API call, you may pass ArtifactStore
907
933
  # data as a hash:
908
934
  #
@@ -1453,8 +1479,14 @@ module Aws::CodePipeline
1453
1479
  # }
1454
1480
  #
1455
1481
  # @!attribute [rw] id
1456
- # The ID used to identify the key. For an AWS KMS key, this is the key
1457
- # ID or key ARN.
1482
+ # The ID used to identify the key. For an AWS KMS key, you can use the
1483
+ # key ID, the key ARN, or the alias ARN.
1484
+ #
1485
+ # <note markdown="1"> Aliases are recognized only in the account that created the customer
1486
+ # master key (CMK). For cross-account actions, you can only use the
1487
+ # key ID or key ARN to identify the key.
1488
+ #
1489
+ # </note>
1458
1490
  # @return [String]
1459
1491
  #
1460
1492
  # @!attribute [rw] type
@@ -1524,6 +1556,28 @@ module Aws::CodePipeline
1524
1556
  include Aws::Structure
1525
1557
  end
1526
1558
 
1559
+ # The interaction or event that started a pipeline execution.
1560
+ #
1561
+ # @!attribute [rw] trigger_type
1562
+ # The type of change-detection method, command, or user interaction
1563
+ # that started a pipeline execution.
1564
+ # @return [String]
1565
+ #
1566
+ # @!attribute [rw] trigger_detail
1567
+ # Detail related to the event that started a pipeline execution, such
1568
+ # as the webhook ARN of the webhook that triggered the pipeline
1569
+ # execution or the user ARN for a user-initiated
1570
+ # `start-pipeline-execution` CLI command.
1571
+ # @return [String]
1572
+ #
1573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ExecutionTrigger AWS API Documentation
1574
+ #
1575
+ class ExecutionTrigger < Struct.new(
1576
+ :trigger_type,
1577
+ :trigger_detail)
1578
+ include Aws::Structure
1579
+ end
1580
+
1527
1581
  # Represents information about failure details.
1528
1582
  #
1529
1583
  # @note When making an API call, you may pass FailureDetails
@@ -2472,16 +2526,24 @@ module Aws::CodePipeline
2472
2526
  # @!attribute [rw] artifact_store
2473
2527
  # Represents information about the Amazon S3 bucket where artifacts
2474
2528
  # are stored for the pipeline.
2529
+ #
2530
+ # <note markdown="1"> You must include either `artifactStore` or `artifactStores` in your
2531
+ # pipeline, but you cannot use both. If you create a cross-region
2532
+ # action in your pipeline, you must use `artifactStores`.
2533
+ #
2534
+ # </note>
2475
2535
  # @return [Types::ArtifactStore]
2476
2536
  #
2477
2537
  # @!attribute [rw] artifact_stores
2478
2538
  # A mapping of `artifactStore` objects and their corresponding
2479
2539
  # regions. There must be an artifact store for the pipeline region and
2480
- # for each cross-region action within the pipeline. You can only use
2481
- # either `artifactStore` or `artifactStores`, not both.
2540
+ # for each cross-region action within the pipeline.
2482
2541
  #
2483
- # If you create a cross-region action in your pipeline, you must use
2484
- # `artifactStores`.
2542
+ # <note markdown="1"> You must include either `artifactStore` or `artifactStores` in your
2543
+ # pipeline, but you cannot use both. If you create a cross-region
2544
+ # action in your pipeline, you must use `artifactStores`.
2545
+ #
2546
+ # </note>
2485
2547
  # @return [Hash<String,Types::ArtifactStore>]
2486
2548
  #
2487
2549
  # @!attribute [rw] stages
@@ -2585,6 +2647,11 @@ module Aws::CodePipeline
2585
2647
  # execution.
2586
2648
  # @return [Array<Types::SourceRevision>]
2587
2649
  #
2650
+ # @!attribute [rw] trigger
2651
+ # The interaction or event that started a pipeline execution, such as
2652
+ # automated change detection or a `StartPipelineExecution` API call.
2653
+ # @return [Types::ExecutionTrigger]
2654
+ #
2588
2655
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionSummary AWS API Documentation
2589
2656
  #
2590
2657
  class PipelineExecutionSummary < Struct.new(
@@ -2592,7 +2659,8 @@ module Aws::CodePipeline
2592
2659
  :status,
2593
2660
  :start_time,
2594
2661
  :last_update_time,
2595
- :source_revisions)
2662
+ :source_revisions,
2663
+ :trigger)
2596
2664
  include Aws::Structure
2597
2665
  end
2598
2666
 
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.23.0
4
+ version: 1.24.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: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core