aws-sdk-codepipeline 1.9.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codepipeline.rb +1 -1
- data/lib/aws-sdk-codepipeline/client.rb +72 -3
- data/lib/aws-sdk-codepipeline/client_api.rb +11 -1
- data/lib/aws-sdk-codepipeline/types.rb +90 -5
- 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: 9abf85aadaaab6408f1983c513322287acd7e100
|
4
|
+
data.tar.gz: b9883194319006492962a11d7c3c474f9b9d457d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f659e2758cebc8a845e35f5c159783908aa282883aaa6507f70afabfbdee8a1aa4cface4e5fff8ddd84bf39785fdc0921dedab08ceaeba6bf8810b1c67dc4c70
|
7
|
+
data.tar.gz: f2d3d13ea8da0c5e8eb13076eb5278bcdd4f946469bd3eede5fb8fd2a39764d4e7a4ec42c6aff55470234af9b5e80777dbb143dbeb97918f87248214221862e2
|
data/lib/aws-sdk-codepipeline.rb
CHANGED
@@ -15,6 +15,7 @@ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
|
15
15
|
require 'aws-sdk-core/plugins/retry_errors.rb'
|
16
16
|
require 'aws-sdk-core/plugins/global_configuration.rb'
|
17
17
|
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
18
|
+
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
|
18
19
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
20
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
21
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
@@ -45,6 +46,7 @@ module Aws::CodePipeline
|
|
45
46
|
add_plugin(Aws::Plugins::RetryErrors)
|
46
47
|
add_plugin(Aws::Plugins::GlobalConfiguration)
|
47
48
|
add_plugin(Aws::Plugins::RegionalEndpoint)
|
49
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
48
50
|
add_plugin(Aws::Plugins::ResponsePaging)
|
49
51
|
add_plugin(Aws::Plugins::StubResponses)
|
50
52
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
@@ -98,6 +100,10 @@ module Aws::CodePipeline
|
|
98
100
|
#
|
99
101
|
# @option options [String] :access_key_id
|
100
102
|
#
|
103
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
104
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
105
|
+
# the background every 60 secs (default). Defaults to `false`.
|
106
|
+
#
|
101
107
|
# @option options [Boolean] :client_side_monitoring (false)
|
102
108
|
# When `true`, client-side metrics will be collected for all API requests from
|
103
109
|
# this client.
|
@@ -123,6 +129,21 @@ module Aws::CodePipeline
|
|
123
129
|
# option. You should only configure an `:endpoint` when connecting
|
124
130
|
# to test endpoints. This should be avalid HTTP(S) URI.
|
125
131
|
#
|
132
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
133
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
134
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
135
|
+
#
|
136
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
137
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
138
|
+
#
|
139
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
140
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
141
|
+
# Use this option to config the time interval in seconds for making
|
142
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
143
|
+
#
|
144
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
145
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
|
146
|
+
#
|
126
147
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
127
148
|
# The log formatter.
|
128
149
|
#
|
@@ -396,7 +417,7 @@ module Aws::CodePipeline
|
|
396
417
|
# pipeline: { # required
|
397
418
|
# name: "PipelineName", # required
|
398
419
|
# role_arn: "RoleArn", # required
|
399
|
-
# artifact_store: {
|
420
|
+
# artifact_store: {
|
400
421
|
# type: "S3", # required, accepts S3
|
401
422
|
# location: "ArtifactStoreLocation", # required
|
402
423
|
# encryption_key: {
|
@@ -404,6 +425,16 @@ module Aws::CodePipeline
|
|
404
425
|
# type: "KMS", # required, accepts KMS
|
405
426
|
# },
|
406
427
|
# },
|
428
|
+
# artifact_stores: {
|
429
|
+
# "AWSRegionName" => {
|
430
|
+
# type: "S3", # required, accepts S3
|
431
|
+
# location: "ArtifactStoreLocation", # required
|
432
|
+
# encryption_key: {
|
433
|
+
# id: "EncryptionKeyId", # required
|
434
|
+
# type: "KMS", # required, accepts KMS
|
435
|
+
# },
|
436
|
+
# },
|
437
|
+
# },
|
407
438
|
# stages: [ # required
|
408
439
|
# {
|
409
440
|
# name: "StageName", # required
|
@@ -437,6 +468,7 @@ module Aws::CodePipeline
|
|
437
468
|
# },
|
438
469
|
# ],
|
439
470
|
# role_arn: "RoleArn",
|
471
|
+
# region: "AWSRegionName",
|
440
472
|
# },
|
441
473
|
# ],
|
442
474
|
# },
|
@@ -453,6 +485,11 @@ module Aws::CodePipeline
|
|
453
485
|
# resp.pipeline.artifact_store.location #=> String
|
454
486
|
# resp.pipeline.artifact_store.encryption_key.id #=> String
|
455
487
|
# resp.pipeline.artifact_store.encryption_key.type #=> String, one of "KMS"
|
488
|
+
# resp.pipeline.artifact_stores #=> Hash
|
489
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].type #=> String, one of "S3"
|
490
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].location #=> String
|
491
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].encryption_key.id #=> String
|
492
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].encryption_key.type #=> String, one of "KMS"
|
456
493
|
# resp.pipeline.stages #=> Array
|
457
494
|
# resp.pipeline.stages[0].name #=> String
|
458
495
|
# resp.pipeline.stages[0].blockers #=> Array
|
@@ -472,6 +509,7 @@ module Aws::CodePipeline
|
|
472
509
|
# resp.pipeline.stages[0].actions[0].input_artifacts #=> Array
|
473
510
|
# resp.pipeline.stages[0].actions[0].input_artifacts[0].name #=> String
|
474
511
|
# resp.pipeline.stages[0].actions[0].role_arn #=> String
|
512
|
+
# resp.pipeline.stages[0].actions[0].region #=> String
|
475
513
|
# resp.pipeline.version #=> Integer
|
476
514
|
#
|
477
515
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipeline AWS API Documentation
|
@@ -771,6 +809,11 @@ module Aws::CodePipeline
|
|
771
809
|
# resp.pipeline.artifact_store.location #=> String
|
772
810
|
# resp.pipeline.artifact_store.encryption_key.id #=> String
|
773
811
|
# resp.pipeline.artifact_store.encryption_key.type #=> String, one of "KMS"
|
812
|
+
# resp.pipeline.artifact_stores #=> Hash
|
813
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].type #=> String, one of "S3"
|
814
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].location #=> String
|
815
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].encryption_key.id #=> String
|
816
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].encryption_key.type #=> String, one of "KMS"
|
774
817
|
# resp.pipeline.stages #=> Array
|
775
818
|
# resp.pipeline.stages[0].name #=> String
|
776
819
|
# resp.pipeline.stages[0].blockers #=> Array
|
@@ -790,6 +833,7 @@ module Aws::CodePipeline
|
|
790
833
|
# resp.pipeline.stages[0].actions[0].input_artifacts #=> Array
|
791
834
|
# resp.pipeline.stages[0].actions[0].input_artifacts[0].name #=> String
|
792
835
|
# resp.pipeline.stages[0].actions[0].role_arn #=> String
|
836
|
+
# resp.pipeline.stages[0].actions[0].region #=> String
|
793
837
|
# resp.pipeline.version #=> Integer
|
794
838
|
# resp.metadata.pipeline_arn #=> String
|
795
839
|
# resp.metadata.created #=> Time
|
@@ -1734,6 +1778,13 @@ module Aws::CodePipeline
|
|
1734
1778
|
# @option params [required, String] :name
|
1735
1779
|
# The name of the pipeline to start.
|
1736
1780
|
#
|
1781
|
+
# @option params [String] :client_request_token
|
1782
|
+
# The system-generated unique ID used to identify a unique execution
|
1783
|
+
# request.
|
1784
|
+
#
|
1785
|
+
# **A suitable default value is auto-generated.** You should normally
|
1786
|
+
# not need to pass this option.**
|
1787
|
+
#
|
1737
1788
|
# @return [Types::StartPipelineExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1738
1789
|
#
|
1739
1790
|
# * {Types::StartPipelineExecutionOutput#pipeline_execution_id #pipeline_execution_id} => String
|
@@ -1742,6 +1793,7 @@ module Aws::CodePipeline
|
|
1742
1793
|
#
|
1743
1794
|
# resp = client.start_pipeline_execution({
|
1744
1795
|
# name: "PipelineName", # required
|
1796
|
+
# client_request_token: "ClientRequestToken",
|
1745
1797
|
# })
|
1746
1798
|
#
|
1747
1799
|
# @example Response structure
|
@@ -1775,7 +1827,7 @@ module Aws::CodePipeline
|
|
1775
1827
|
# pipeline: { # required
|
1776
1828
|
# name: "PipelineName", # required
|
1777
1829
|
# role_arn: "RoleArn", # required
|
1778
|
-
# artifact_store: {
|
1830
|
+
# artifact_store: {
|
1779
1831
|
# type: "S3", # required, accepts S3
|
1780
1832
|
# location: "ArtifactStoreLocation", # required
|
1781
1833
|
# encryption_key: {
|
@@ -1783,6 +1835,16 @@ module Aws::CodePipeline
|
|
1783
1835
|
# type: "KMS", # required, accepts KMS
|
1784
1836
|
# },
|
1785
1837
|
# },
|
1838
|
+
# artifact_stores: {
|
1839
|
+
# "AWSRegionName" => {
|
1840
|
+
# type: "S3", # required, accepts S3
|
1841
|
+
# location: "ArtifactStoreLocation", # required
|
1842
|
+
# encryption_key: {
|
1843
|
+
# id: "EncryptionKeyId", # required
|
1844
|
+
# type: "KMS", # required, accepts KMS
|
1845
|
+
# },
|
1846
|
+
# },
|
1847
|
+
# },
|
1786
1848
|
# stages: [ # required
|
1787
1849
|
# {
|
1788
1850
|
# name: "StageName", # required
|
@@ -1816,6 +1878,7 @@ module Aws::CodePipeline
|
|
1816
1878
|
# },
|
1817
1879
|
# ],
|
1818
1880
|
# role_arn: "RoleArn",
|
1881
|
+
# region: "AWSRegionName",
|
1819
1882
|
# },
|
1820
1883
|
# ],
|
1821
1884
|
# },
|
@@ -1832,6 +1895,11 @@ module Aws::CodePipeline
|
|
1832
1895
|
# resp.pipeline.artifact_store.location #=> String
|
1833
1896
|
# resp.pipeline.artifact_store.encryption_key.id #=> String
|
1834
1897
|
# resp.pipeline.artifact_store.encryption_key.type #=> String, one of "KMS"
|
1898
|
+
# resp.pipeline.artifact_stores #=> Hash
|
1899
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].type #=> String, one of "S3"
|
1900
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].location #=> String
|
1901
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].encryption_key.id #=> String
|
1902
|
+
# resp.pipeline.artifact_stores["AWSRegionName"].encryption_key.type #=> String, one of "KMS"
|
1835
1903
|
# resp.pipeline.stages #=> Array
|
1836
1904
|
# resp.pipeline.stages[0].name #=> String
|
1837
1905
|
# resp.pipeline.stages[0].blockers #=> Array
|
@@ -1851,6 +1919,7 @@ module Aws::CodePipeline
|
|
1851
1919
|
# resp.pipeline.stages[0].actions[0].input_artifacts #=> Array
|
1852
1920
|
# resp.pipeline.stages[0].actions[0].input_artifacts[0].name #=> String
|
1853
1921
|
# resp.pipeline.stages[0].actions[0].role_arn #=> String
|
1922
|
+
# resp.pipeline.stages[0].actions[0].region #=> String
|
1854
1923
|
# resp.pipeline.version #=> Integer
|
1855
1924
|
#
|
1856
1925
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline AWS API Documentation
|
@@ -1875,7 +1944,7 @@ module Aws::CodePipeline
|
|
1875
1944
|
params: params,
|
1876
1945
|
config: config)
|
1877
1946
|
context[:gem_name] = 'aws-sdk-codepipeline'
|
1878
|
-
context[:gem_version] = '1.
|
1947
|
+
context[:gem_version] = '1.10.0'
|
1879
1948
|
Seahorse::Client::Request.new(handlers, context)
|
1880
1949
|
end
|
1881
1950
|
|
@@ -11,6 +11,7 @@ module Aws::CodePipeline
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
AWSRegionName = Shapes::StringShape.new(name: 'AWSRegionName')
|
14
15
|
AWSSessionCredentials = Shapes::StructureShape.new(name: 'AWSSessionCredentials')
|
15
16
|
AccessKeyId = Shapes::StringShape.new(name: 'AccessKeyId')
|
16
17
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
@@ -60,12 +61,14 @@ module Aws::CodePipeline
|
|
60
61
|
ArtifactRevisionList = Shapes::ListShape.new(name: 'ArtifactRevisionList')
|
61
62
|
ArtifactStore = Shapes::StructureShape.new(name: 'ArtifactStore')
|
62
63
|
ArtifactStoreLocation = Shapes::StringShape.new(name: 'ArtifactStoreLocation')
|
64
|
+
ArtifactStoreMap = Shapes::MapShape.new(name: 'ArtifactStoreMap')
|
63
65
|
ArtifactStoreType = Shapes::StringShape.new(name: 'ArtifactStoreType')
|
64
66
|
BlockerDeclaration = Shapes::StructureShape.new(name: 'BlockerDeclaration')
|
65
67
|
BlockerName = Shapes::StringShape.new(name: 'BlockerName')
|
66
68
|
BlockerType = Shapes::StringShape.new(name: 'BlockerType')
|
67
69
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
68
70
|
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
71
|
+
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
69
72
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
70
73
|
Code = Shapes::StringShape.new(name: 'Code')
|
71
74
|
ContinuationToken = Shapes::StringShape.new(name: 'ContinuationToken')
|
@@ -291,6 +294,7 @@ module Aws::CodePipeline
|
|
291
294
|
ActionDeclaration.add_member(:output_artifacts, Shapes::ShapeRef.new(shape: OutputArtifactList, location_name: "outputArtifacts"))
|
292
295
|
ActionDeclaration.add_member(:input_artifacts, Shapes::ShapeRef.new(shape: InputArtifactList, location_name: "inputArtifacts"))
|
293
296
|
ActionDeclaration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
297
|
+
ActionDeclaration.add_member(:region, Shapes::ShapeRef.new(shape: AWSRegionName, location_name: "region"))
|
294
298
|
ActionDeclaration.struct_class = Types::ActionDeclaration
|
295
299
|
|
296
300
|
ActionExecution.add_member(:status, Shapes::ShapeRef.new(shape: ActionExecutionStatus, location_name: "status"))
|
@@ -373,6 +377,9 @@ module Aws::CodePipeline
|
|
373
377
|
ArtifactStore.add_member(:encryption_key, Shapes::ShapeRef.new(shape: EncryptionKey, location_name: "encryptionKey"))
|
374
378
|
ArtifactStore.struct_class = Types::ArtifactStore
|
375
379
|
|
380
|
+
ArtifactStoreMap.key = Shapes::ShapeRef.new(shape: AWSRegionName)
|
381
|
+
ArtifactStoreMap.value = Shapes::ShapeRef.new(shape: ArtifactStore)
|
382
|
+
|
376
383
|
BlockerDeclaration.add_member(:name, Shapes::ShapeRef.new(shape: BlockerName, required: true, location_name: "name"))
|
377
384
|
BlockerDeclaration.add_member(:type, Shapes::ShapeRef.new(shape: BlockerType, required: true, location_name: "type"))
|
378
385
|
BlockerDeclaration.struct_class = Types::BlockerDeclaration
|
@@ -566,7 +573,8 @@ module Aws::CodePipeline
|
|
566
573
|
|
567
574
|
PipelineDeclaration.add_member(:name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "name"))
|
568
575
|
PipelineDeclaration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
569
|
-
PipelineDeclaration.add_member(:artifact_store, Shapes::ShapeRef.new(shape: ArtifactStore,
|
576
|
+
PipelineDeclaration.add_member(:artifact_store, Shapes::ShapeRef.new(shape: ArtifactStore, location_name: "artifactStore"))
|
577
|
+
PipelineDeclaration.add_member(:artifact_stores, Shapes::ShapeRef.new(shape: ArtifactStoreMap, location_name: "artifactStores"))
|
570
578
|
PipelineDeclaration.add_member(:stages, Shapes::ShapeRef.new(shape: PipelineStageDeclarationList, required: true, location_name: "stages"))
|
571
579
|
PipelineDeclaration.add_member(:version, Shapes::ShapeRef.new(shape: PipelineVersion, location_name: "version"))
|
572
580
|
PipelineDeclaration.struct_class = Types::PipelineDeclaration
|
@@ -719,6 +727,7 @@ module Aws::CodePipeline
|
|
719
727
|
StageStateList.member = Shapes::ShapeRef.new(shape: StageState)
|
720
728
|
|
721
729
|
StartPipelineExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "name"))
|
730
|
+
StartPipelineExecutionInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
722
731
|
StartPipelineExecutionInput.struct_class = Types::StartPipelineExecutionInput
|
723
732
|
|
724
733
|
StartPipelineExecutionOutput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
|
@@ -790,6 +799,7 @@ module Aws::CodePipeline
|
|
790
799
|
"protocol" => "json",
|
791
800
|
"serviceAbbreviation" => "CodePipeline",
|
792
801
|
"serviceFullName" => "AWS CodePipeline",
|
802
|
+
"serviceId" => "CodePipeline",
|
793
803
|
"signatureVersion" => "v4",
|
794
804
|
"targetPrefix" => "CodePipeline_20150709",
|
795
805
|
"uid" => "codepipeline-2015-07-09",
|
@@ -255,6 +255,7 @@ module Aws::CodePipeline
|
|
255
255
|
# },
|
256
256
|
# ],
|
257
257
|
# role_arn: "RoleArn",
|
258
|
+
# region: "AWSRegionName",
|
258
259
|
# }
|
259
260
|
#
|
260
261
|
# @!attribute [rw] name
|
@@ -288,6 +289,10 @@ module Aws::CodePipeline
|
|
288
289
|
# action. This is assumed through the roleArn for the pipeline.
|
289
290
|
# @return [String]
|
290
291
|
#
|
292
|
+
# @!attribute [rw] region
|
293
|
+
# The action declaration's AWS Region, such as us-east-1.
|
294
|
+
# @return [String]
|
295
|
+
#
|
291
296
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionDeclaration AWS API Documentation
|
292
297
|
#
|
293
298
|
class ActionDeclaration < Struct.new(
|
@@ -297,7 +302,8 @@ module Aws::CodePipeline
|
|
297
302
|
:configuration,
|
298
303
|
:output_artifacts,
|
299
304
|
:input_artifacts,
|
300
|
-
:role_arn
|
305
|
+
:role_arn,
|
306
|
+
:region)
|
301
307
|
include Aws::Structure
|
302
308
|
end
|
303
309
|
|
@@ -888,7 +894,7 @@ module Aws::CodePipeline
|
|
888
894
|
# pipeline: { # required
|
889
895
|
# name: "PipelineName", # required
|
890
896
|
# role_arn: "RoleArn", # required
|
891
|
-
# artifact_store: {
|
897
|
+
# artifact_store: {
|
892
898
|
# type: "S3", # required, accepts S3
|
893
899
|
# location: "ArtifactStoreLocation", # required
|
894
900
|
# encryption_key: {
|
@@ -896,6 +902,16 @@ module Aws::CodePipeline
|
|
896
902
|
# type: "KMS", # required, accepts KMS
|
897
903
|
# },
|
898
904
|
# },
|
905
|
+
# artifact_stores: {
|
906
|
+
# "AWSRegionName" => {
|
907
|
+
# type: "S3", # required, accepts S3
|
908
|
+
# location: "ArtifactStoreLocation", # required
|
909
|
+
# encryption_key: {
|
910
|
+
# id: "EncryptionKeyId", # required
|
911
|
+
# type: "KMS", # required, accepts KMS
|
912
|
+
# },
|
913
|
+
# },
|
914
|
+
# },
|
899
915
|
# stages: [ # required
|
900
916
|
# {
|
901
917
|
# name: "StageName", # required
|
@@ -929,6 +945,7 @@ module Aws::CodePipeline
|
|
929
945
|
# },
|
930
946
|
# ],
|
931
947
|
# role_arn: "RoleArn",
|
948
|
+
# region: "AWSRegionName",
|
932
949
|
# },
|
933
950
|
# ],
|
934
951
|
# },
|
@@ -1972,7 +1989,7 @@ module Aws::CodePipeline
|
|
1972
1989
|
# {
|
1973
1990
|
# name: "PipelineName", # required
|
1974
1991
|
# role_arn: "RoleArn", # required
|
1975
|
-
# artifact_store: {
|
1992
|
+
# artifact_store: {
|
1976
1993
|
# type: "S3", # required, accepts S3
|
1977
1994
|
# location: "ArtifactStoreLocation", # required
|
1978
1995
|
# encryption_key: {
|
@@ -1980,6 +1997,16 @@ module Aws::CodePipeline
|
|
1980
1997
|
# type: "KMS", # required, accepts KMS
|
1981
1998
|
# },
|
1982
1999
|
# },
|
2000
|
+
# artifact_stores: {
|
2001
|
+
# "AWSRegionName" => {
|
2002
|
+
# type: "S3", # required, accepts S3
|
2003
|
+
# location: "ArtifactStoreLocation", # required
|
2004
|
+
# encryption_key: {
|
2005
|
+
# id: "EncryptionKeyId", # required
|
2006
|
+
# type: "KMS", # required, accepts KMS
|
2007
|
+
# },
|
2008
|
+
# },
|
2009
|
+
# },
|
1983
2010
|
# stages: [ # required
|
1984
2011
|
# {
|
1985
2012
|
# name: "StageName", # required
|
@@ -2013,6 +2040,7 @@ module Aws::CodePipeline
|
|
2013
2040
|
# },
|
2014
2041
|
# ],
|
2015
2042
|
# role_arn: "RoleArn",
|
2043
|
+
# region: "AWSRegionName",
|
2016
2044
|
# },
|
2017
2045
|
# ],
|
2018
2046
|
# },
|
@@ -2035,6 +2063,16 @@ module Aws::CodePipeline
|
|
2035
2063
|
# are stored for the pipeline.
|
2036
2064
|
# @return [Types::ArtifactStore]
|
2037
2065
|
#
|
2066
|
+
# @!attribute [rw] artifact_stores
|
2067
|
+
# A mapping of artifactStore objects and their corresponding regions.
|
2068
|
+
# There must be an artifact store for the pipeline region and for each
|
2069
|
+
# cross-region action within the pipeline. You can only use either
|
2070
|
+
# artifactStore or artifactStores, not both.
|
2071
|
+
#
|
2072
|
+
# If you create a cross-region action in your pipeline, you must use
|
2073
|
+
# artifactStores.
|
2074
|
+
# @return [Hash<String,Types::ArtifactStore>]
|
2075
|
+
#
|
2038
2076
|
# @!attribute [rw] stages
|
2039
2077
|
# The stage in which to perform the action.
|
2040
2078
|
# @return [Array<Types::StageDeclaration>]
|
@@ -2051,6 +2089,7 @@ module Aws::CodePipeline
|
|
2051
2089
|
:name,
|
2052
2090
|
:role_arn,
|
2053
2091
|
:artifact_store,
|
2092
|
+
:artifact_stores,
|
2054
2093
|
:stages,
|
2055
2094
|
:version)
|
2056
2095
|
include Aws::Structure
|
@@ -2130,6 +2169,8 @@ module Aws::CodePipeline
|
|
2130
2169
|
# @return [Time]
|
2131
2170
|
#
|
2132
2171
|
# @!attribute [rw] source_revisions
|
2172
|
+
# A list of the source artifact revisions that initiated a pipeline
|
2173
|
+
# execution.
|
2133
2174
|
# @return [Array<Types::SourceRevision>]
|
2134
2175
|
#
|
2135
2176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionSummary AWS API Documentation
|
@@ -2756,16 +2797,31 @@ module Aws::CodePipeline
|
|
2756
2797
|
include Aws::Structure
|
2757
2798
|
end
|
2758
2799
|
|
2800
|
+
# Information about the version (or revision) of a source artifact that
|
2801
|
+
# initiated a pipeline execution.
|
2802
|
+
#
|
2759
2803
|
# @!attribute [rw] action_name
|
2804
|
+
# The name of the action that processed the revision to the source
|
2805
|
+
# artifact.
|
2760
2806
|
# @return [String]
|
2761
2807
|
#
|
2762
2808
|
# @!attribute [rw] revision_id
|
2809
|
+
# The system-generated unique ID that identifies the revision number
|
2810
|
+
# of the artifact.
|
2763
2811
|
# @return [String]
|
2764
2812
|
#
|
2765
2813
|
# @!attribute [rw] revision_summary
|
2814
|
+
# Summary information about the most recent revision of the artifact.
|
2815
|
+
# For GitHub and AWS CodeCommit repositories, the commit message. For
|
2816
|
+
# Amazon S3 buckets or actions, the user-provided content of a
|
2817
|
+
# `codepipeline-artifact-revision-summary` key specified in the object
|
2818
|
+
# metadata.
|
2766
2819
|
# @return [String]
|
2767
2820
|
#
|
2768
2821
|
# @!attribute [rw] revision_url
|
2822
|
+
# The commit ID for the artifact revision. For artifacts stored in
|
2823
|
+
# GitHub or AWS CodeCommit repositories, the commit ID is linked to a
|
2824
|
+
# commit details page.
|
2769
2825
|
# @return [String]
|
2770
2826
|
#
|
2771
2827
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/SourceRevision AWS API Documentation
|
@@ -2828,6 +2884,7 @@ module Aws::CodePipeline
|
|
2828
2884
|
# },
|
2829
2885
|
# ],
|
2830
2886
|
# role_arn: "RoleArn",
|
2887
|
+
# region: "AWSRegionName",
|
2831
2888
|
# },
|
2832
2889
|
# ],
|
2833
2890
|
# }
|
@@ -2909,16 +2966,26 @@ module Aws::CodePipeline
|
|
2909
2966
|
#
|
2910
2967
|
# {
|
2911
2968
|
# name: "PipelineName", # required
|
2969
|
+
# client_request_token: "ClientRequestToken",
|
2912
2970
|
# }
|
2913
2971
|
#
|
2914
2972
|
# @!attribute [rw] name
|
2915
2973
|
# The name of the pipeline to start.
|
2916
2974
|
# @return [String]
|
2917
2975
|
#
|
2976
|
+
# @!attribute [rw] client_request_token
|
2977
|
+
# The system-generated unique ID used to identify a unique execution
|
2978
|
+
# request.
|
2979
|
+
#
|
2980
|
+
# **A suitable default value is auto-generated.** You should normally
|
2981
|
+
# not need to pass this option.
|
2982
|
+
# @return [String]
|
2983
|
+
#
|
2918
2984
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecutionInput AWS API Documentation
|
2919
2985
|
#
|
2920
2986
|
class StartPipelineExecutionInput < Struct.new(
|
2921
|
-
:name
|
2987
|
+
:name,
|
2988
|
+
:client_request_token)
|
2922
2989
|
include Aws::Structure
|
2923
2990
|
end
|
2924
2991
|
|
@@ -3085,7 +3152,7 @@ module Aws::CodePipeline
|
|
3085
3152
|
# pipeline: { # required
|
3086
3153
|
# name: "PipelineName", # required
|
3087
3154
|
# role_arn: "RoleArn", # required
|
3088
|
-
# artifact_store: {
|
3155
|
+
# artifact_store: {
|
3089
3156
|
# type: "S3", # required, accepts S3
|
3090
3157
|
# location: "ArtifactStoreLocation", # required
|
3091
3158
|
# encryption_key: {
|
@@ -3093,6 +3160,16 @@ module Aws::CodePipeline
|
|
3093
3160
|
# type: "KMS", # required, accepts KMS
|
3094
3161
|
# },
|
3095
3162
|
# },
|
3163
|
+
# artifact_stores: {
|
3164
|
+
# "AWSRegionName" => {
|
3165
|
+
# type: "S3", # required, accepts S3
|
3166
|
+
# location: "ArtifactStoreLocation", # required
|
3167
|
+
# encryption_key: {
|
3168
|
+
# id: "EncryptionKeyId", # required
|
3169
|
+
# type: "KMS", # required, accepts KMS
|
3170
|
+
# },
|
3171
|
+
# },
|
3172
|
+
# },
|
3096
3173
|
# stages: [ # required
|
3097
3174
|
# {
|
3098
3175
|
# name: "StageName", # required
|
@@ -3126,6 +3203,7 @@ module Aws::CodePipeline
|
|
3126
3203
|
# },
|
3127
3204
|
# ],
|
3128
3205
|
# role_arn: "RoleArn",
|
3206
|
+
# region: "AWSRegionName",
|
3129
3207
|
# },
|
3130
3208
|
# ],
|
3131
3209
|
# },
|
@@ -3158,6 +3236,8 @@ module Aws::CodePipeline
|
|
3158
3236
|
include Aws::Structure
|
3159
3237
|
end
|
3160
3238
|
|
3239
|
+
# The authentication applied to incoming webhook trigger requests.
|
3240
|
+
#
|
3161
3241
|
# @note When making an API call, you may pass WebhookAuthConfiguration
|
3162
3242
|
# data as a hash:
|
3163
3243
|
#
|
@@ -3167,9 +3247,14 @@ module Aws::CodePipeline
|
|
3167
3247
|
# }
|
3168
3248
|
#
|
3169
3249
|
# @!attribute [rw] allowed_ip_range
|
3250
|
+
# The property used to configure acceptance of webhooks within a
|
3251
|
+
# specific IP range. For IP, only the AllowedIPRange property must be
|
3252
|
+
# set, and this property must be set to a valid CIDR range.
|
3170
3253
|
# @return [String]
|
3171
3254
|
#
|
3172
3255
|
# @!attribute [rw] secret_token
|
3256
|
+
# The property used to configure GitHub authentication. For
|
3257
|
+
# GITHUB\_HMAC, only the SecretToken property must be set.
|
3173
3258
|
# @return [String]
|
3174
3259
|
#
|
3175
3260
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/WebhookAuthConfiguration AWS API Documentation
|
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.10.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: 2018-
|
11
|
+
date: 2018-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|