aws-sdk-codepipeline 1.26.0 → 1.31.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 +5 -5
- data/lib/aws-sdk-codepipeline.rb +7 -4
- data/lib/aws-sdk-codepipeline/client.rb +172 -34
- data/lib/aws-sdk-codepipeline/client_api.rb +113 -0
- data/lib/aws-sdk-codepipeline/errors.rb +367 -0
- data/lib/aws-sdk-codepipeline/resource.rb +1 -0
- data/lib/aws-sdk-codepipeline/types.rb +380 -28
- metadata +3 -3
@@ -10,9 +10,8 @@ module Aws::CodePipeline
|
|
10
10
|
|
11
11
|
# Represents an AWS session credentials object. These credentials are
|
12
12
|
# temporary credentials that are issued by AWS Secure Token Service
|
13
|
-
# (STS). They can be used to access input and output artifacts in the
|
14
|
-
#
|
15
|
-
# CodePipeline.
|
13
|
+
# (STS). They can be used to access input and output artifacts in the S3
|
14
|
+
# bucket used to store artifact for the pipeline in AWS CodePipeline.
|
16
15
|
#
|
17
16
|
# @!attribute [rw] access_key_id
|
18
17
|
# The access key for the session.
|
@@ -262,6 +261,7 @@ module Aws::CodePipeline
|
|
262
261
|
# ],
|
263
262
|
# role_arn: "RoleArn",
|
264
263
|
# region: "AWSRegionName",
|
264
|
+
# namespace: "ActionNamespace",
|
265
265
|
# }
|
266
266
|
#
|
267
267
|
# @!attribute [rw] name
|
@@ -319,6 +319,11 @@ module Aws::CodePipeline
|
|
319
319
|
# The action declaration's AWS Region, such as us-east-1.
|
320
320
|
# @return [String]
|
321
321
|
#
|
322
|
+
# @!attribute [rw] namespace
|
323
|
+
# The variable namespace associated with the action. All variables
|
324
|
+
# produced as output by this action fall under this namespace.
|
325
|
+
# @return [String]
|
326
|
+
#
|
322
327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionDeclaration AWS API Documentation
|
323
328
|
#
|
324
329
|
class ActionDeclaration < Struct.new(
|
@@ -329,7 +334,8 @@ module Aws::CodePipeline
|
|
329
334
|
:output_artifacts,
|
330
335
|
:input_artifacts,
|
331
336
|
:role_arn,
|
332
|
-
:region
|
337
|
+
:region,
|
338
|
+
:namespace)
|
333
339
|
include Aws::Structure
|
334
340
|
end
|
335
341
|
|
@@ -483,6 +489,11 @@ module Aws::CodePipeline
|
|
483
489
|
# Configuration data for an action execution.
|
484
490
|
# @return [Hash<String,String>]
|
485
491
|
#
|
492
|
+
# @!attribute [rw] resolved_configuration
|
493
|
+
# Configuration data for an action execution with all variable
|
494
|
+
# references replaced with their real values for the execution.
|
495
|
+
# @return [Hash<String,String>]
|
496
|
+
#
|
486
497
|
# @!attribute [rw] role_arn
|
487
498
|
# The ARN of the IAM service role that performs the declared action.
|
488
499
|
# This is assumed through the roleArn for the pipeline.
|
@@ -497,14 +508,21 @@ module Aws::CodePipeline
|
|
497
508
|
# action execution.
|
498
509
|
# @return [Array<Types::ArtifactDetail>]
|
499
510
|
#
|
511
|
+
# @!attribute [rw] namespace
|
512
|
+
# The variable namespace associated with the action. All variables
|
513
|
+
# produced as output by this action fall under this namespace.
|
514
|
+
# @return [String]
|
515
|
+
#
|
500
516
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecutionInput AWS API Documentation
|
501
517
|
#
|
502
518
|
class ActionExecutionInput < Struct.new(
|
503
519
|
:action_type_id,
|
504
520
|
:configuration,
|
521
|
+
:resolved_configuration,
|
505
522
|
:role_arn,
|
506
523
|
:region,
|
507
|
-
:input_artifacts
|
524
|
+
:input_artifacts,
|
525
|
+
:namespace)
|
508
526
|
include Aws::Structure
|
509
527
|
end
|
510
528
|
|
@@ -521,11 +539,17 @@ module Aws::CodePipeline
|
|
521
539
|
# action execution.
|
522
540
|
# @return [Types::ActionExecutionResult]
|
523
541
|
#
|
542
|
+
# @!attribute [rw] output_variables
|
543
|
+
# The outputVariables field shows the key-value pairs that were output
|
544
|
+
# as part of that execution.
|
545
|
+
# @return [Hash<String,String>]
|
546
|
+
#
|
524
547
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecutionOutput AWS API Documentation
|
525
548
|
#
|
526
549
|
class ActionExecutionOutput < Struct.new(
|
527
550
|
:output_artifacts,
|
528
|
-
:execution_result
|
551
|
+
:execution_result,
|
552
|
+
:output_variables)
|
529
553
|
include Aws::Structure
|
530
554
|
end
|
531
555
|
|
@@ -554,6 +578,12 @@ module Aws::CodePipeline
|
|
554
578
|
include Aws::Structure
|
555
579
|
end
|
556
580
|
|
581
|
+
# The specified action cannot be found.
|
582
|
+
#
|
583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionNotFoundException AWS API Documentation
|
584
|
+
#
|
585
|
+
class ActionNotFoundException < Aws::EmptyStructure; end
|
586
|
+
|
557
587
|
# Represents information about the version (or revision) of an action.
|
558
588
|
#
|
559
589
|
# @note When making an API call, you may pass ActionRevision
|
@@ -708,6 +738,12 @@ module Aws::CodePipeline
|
|
708
738
|
include Aws::Structure
|
709
739
|
end
|
710
740
|
|
741
|
+
# The specified action type cannot be found.
|
742
|
+
#
|
743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeNotFoundException AWS API Documentation
|
744
|
+
#
|
745
|
+
class ActionTypeNotFoundException < Aws::EmptyStructure; end
|
746
|
+
|
711
747
|
# Returns information about the settings for an action type.
|
712
748
|
#
|
713
749
|
# @note When making an API call, you may pass ActionTypeSettings
|
@@ -757,6 +793,12 @@ module Aws::CodePipeline
|
|
757
793
|
include Aws::Structure
|
758
794
|
end
|
759
795
|
|
796
|
+
# The approval action has already been approved or rejected.
|
797
|
+
#
|
798
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ApprovalAlreadyCompletedException AWS API Documentation
|
799
|
+
#
|
800
|
+
class ApprovalAlreadyCompletedException < Aws::EmptyStructure; end
|
801
|
+
|
760
802
|
# Represents information about the result of an approval request.
|
761
803
|
#
|
762
804
|
# @note When making an API call, you may pass ApprovalResult
|
@@ -861,7 +903,7 @@ module Aws::CodePipeline
|
|
861
903
|
# @return [String]
|
862
904
|
#
|
863
905
|
# @!attribute [rw] s3_location
|
864
|
-
# The
|
906
|
+
# The S3 bucket that contains the artifact.
|
865
907
|
# @return [Types::S3ArtifactLocation]
|
866
908
|
#
|
867
909
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactLocation AWS API Documentation
|
@@ -919,7 +961,7 @@ module Aws::CodePipeline
|
|
919
961
|
include Aws::Structure
|
920
962
|
end
|
921
963
|
|
922
|
-
# The
|
964
|
+
# The S3 bucket where artifacts for the pipeline are stored.
|
923
965
|
#
|
924
966
|
# <note markdown="1"> You must include either `artifactStore` or `artifactStores` in your
|
925
967
|
# pipeline, but you cannot use both. If you create a cross-region action
|
@@ -944,12 +986,11 @@ module Aws::CodePipeline
|
|
944
986
|
# @return [String]
|
945
987
|
#
|
946
988
|
# @!attribute [rw] location
|
947
|
-
# The
|
948
|
-
#
|
949
|
-
#
|
950
|
-
#
|
951
|
-
#
|
952
|
-
# artifacts.
|
989
|
+
# The S3 bucket used for storing the artifacts for a pipeline. You can
|
990
|
+
# specify the name of an S3 bucket but not a folder in the bucket. A
|
991
|
+
# folder to contain the pipeline artifacts is created for you based on
|
992
|
+
# the name of the pipeline. You can use any S3 bucket in the same AWS
|
993
|
+
# Region as the pipeline to store your pipeline artifacts.
|
953
994
|
# @return [String]
|
954
995
|
#
|
955
996
|
# @!attribute [rw] encryption_key
|
@@ -1194,6 +1235,7 @@ module Aws::CodePipeline
|
|
1194
1235
|
# ],
|
1195
1236
|
# role_arn: "RoleArn",
|
1196
1237
|
# region: "AWSRegionName",
|
1238
|
+
# namespace: "ActionNamespace",
|
1197
1239
|
# },
|
1198
1240
|
# ],
|
1199
1241
|
# },
|
@@ -1427,6 +1469,22 @@ module Aws::CodePipeline
|
|
1427
1469
|
include Aws::Structure
|
1428
1470
|
end
|
1429
1471
|
|
1472
|
+
# The pipeline execution is already in a `Stopping` state. If you
|
1473
|
+
# already chose to stop and wait, you cannot make that request again.
|
1474
|
+
# You can choose to stop and abandon now, but be aware that this option
|
1475
|
+
# can lead to failed tasks or out of sequence tasks. If you already
|
1476
|
+
# chose to stop and abandon, you cannot make that request again.
|
1477
|
+
#
|
1478
|
+
# @!attribute [rw] message
|
1479
|
+
# @return [String]
|
1480
|
+
#
|
1481
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DuplicatedStopRequestException AWS API Documentation
|
1482
|
+
#
|
1483
|
+
class DuplicatedStopRequestException < Struct.new(
|
1484
|
+
:message)
|
1485
|
+
include Aws::Structure
|
1486
|
+
end
|
1487
|
+
|
1430
1488
|
# Represents the input of an `EnableStageTransition` action.
|
1431
1489
|
#
|
1432
1490
|
# @note When making an API call, you may pass EnableStageTransitionInput
|
@@ -1865,6 +1923,18 @@ module Aws::CodePipeline
|
|
1865
1923
|
include Aws::Structure
|
1866
1924
|
end
|
1867
1925
|
|
1926
|
+
# The action declaration was specified in an invalid format.
|
1927
|
+
#
|
1928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidActionDeclarationException AWS API Documentation
|
1929
|
+
#
|
1930
|
+
class InvalidActionDeclarationException < Aws::EmptyStructure; end
|
1931
|
+
|
1932
|
+
# The approval request already received a response or has expired.
|
1933
|
+
#
|
1934
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidApprovalTokenException AWS API Documentation
|
1935
|
+
#
|
1936
|
+
class InvalidApprovalTokenException < Aws::EmptyStructure; end
|
1937
|
+
|
1868
1938
|
# The specified resource ARN is invalid.
|
1869
1939
|
#
|
1870
1940
|
# @!attribute [rw] message
|
@@ -1877,6 +1947,55 @@ module Aws::CodePipeline
|
|
1877
1947
|
include Aws::Structure
|
1878
1948
|
end
|
1879
1949
|
|
1950
|
+
# Reserved for future use.
|
1951
|
+
#
|
1952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidBlockerDeclarationException AWS API Documentation
|
1953
|
+
#
|
1954
|
+
class InvalidBlockerDeclarationException < Aws::EmptyStructure; end
|
1955
|
+
|
1956
|
+
# The client token was specified in an invalid format
|
1957
|
+
#
|
1958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidClientTokenException AWS API Documentation
|
1959
|
+
#
|
1960
|
+
class InvalidClientTokenException < Aws::EmptyStructure; end
|
1961
|
+
|
1962
|
+
# The job was specified in an invalid format or cannot be found.
|
1963
|
+
#
|
1964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidJobException AWS API Documentation
|
1965
|
+
#
|
1966
|
+
class InvalidJobException < Aws::EmptyStructure; end
|
1967
|
+
|
1968
|
+
# The job state was specified in an invalid format.
|
1969
|
+
#
|
1970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidJobStateException AWS API Documentation
|
1971
|
+
#
|
1972
|
+
class InvalidJobStateException < Aws::EmptyStructure; end
|
1973
|
+
|
1974
|
+
# The next token was specified in an invalid format. Make sure that the
|
1975
|
+
# next token you provide is the token returned by a previous call.
|
1976
|
+
#
|
1977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidNextTokenException AWS API Documentation
|
1978
|
+
#
|
1979
|
+
class InvalidNextTokenException < Aws::EmptyStructure; end
|
1980
|
+
|
1981
|
+
# The nonce was specified in an invalid format.
|
1982
|
+
#
|
1983
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidNonceException AWS API Documentation
|
1984
|
+
#
|
1985
|
+
class InvalidNonceException < Aws::EmptyStructure; end
|
1986
|
+
|
1987
|
+
# The stage declaration was specified in an invalid format.
|
1988
|
+
#
|
1989
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidStageDeclarationException AWS API Documentation
|
1990
|
+
#
|
1991
|
+
class InvalidStageDeclarationException < Aws::EmptyStructure; end
|
1992
|
+
|
1993
|
+
# The structure was specified in an invalid format.
|
1994
|
+
#
|
1995
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidStructureException AWS API Documentation
|
1996
|
+
#
|
1997
|
+
class InvalidStructureException < Aws::EmptyStructure; end
|
1998
|
+
|
1880
1999
|
# The specified resource tags are invalid.
|
1881
2000
|
#
|
1882
2001
|
# @!attribute [rw] message
|
@@ -1889,6 +2008,18 @@ module Aws::CodePipeline
|
|
1889
2008
|
include Aws::Structure
|
1890
2009
|
end
|
1891
2010
|
|
2011
|
+
# The specified authentication type is in an invalid format.
|
2012
|
+
#
|
2013
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidWebhookAuthenticationParametersException AWS API Documentation
|
2014
|
+
#
|
2015
|
+
class InvalidWebhookAuthenticationParametersException < Aws::EmptyStructure; end
|
2016
|
+
|
2017
|
+
# The specified event filter rule is in an invalid format.
|
2018
|
+
#
|
2019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidWebhookFilterPatternException AWS API Documentation
|
2020
|
+
#
|
2021
|
+
class InvalidWebhookFilterPatternException < Aws::EmptyStructure; end
|
2022
|
+
|
1892
2023
|
# Represents information about a job.
|
1893
2024
|
#
|
1894
2025
|
# @!attribute [rw] id
|
@@ -1950,7 +2081,7 @@ module Aws::CodePipeline
|
|
1950
2081
|
# Represents an AWS session credentials object. These credentials are
|
1951
2082
|
# temporary credentials that are issued by AWS Secure Token Service
|
1952
2083
|
# (STS). They can be used to access input and output artifacts in the
|
1953
|
-
#
|
2084
|
+
# S3 bucket used to store artifacts for the pipeline in AWS
|
1954
2085
|
# CodePipeline.
|
1955
2086
|
# @return [Types::AWSSessionCredentials]
|
1956
2087
|
#
|
@@ -2002,6 +2133,19 @@ module Aws::CodePipeline
|
|
2002
2133
|
include Aws::Structure
|
2003
2134
|
end
|
2004
2135
|
|
2136
|
+
# The job was specified in an invalid format or cannot be found.
|
2137
|
+
#
|
2138
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobNotFoundException AWS API Documentation
|
2139
|
+
#
|
2140
|
+
class JobNotFoundException < Aws::EmptyStructure; end
|
2141
|
+
|
2142
|
+
# The number of pipelines associated with the AWS account has exceeded
|
2143
|
+
# the limit allowed for the account.
|
2144
|
+
#
|
2145
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/LimitExceededException AWS API Documentation
|
2146
|
+
#
|
2147
|
+
class LimitExceededException < Aws::EmptyStructure; end
|
2148
|
+
|
2005
2149
|
# @note When making an API call, you may pass ListActionExecutionsInput
|
2006
2150
|
# data as a hash:
|
2007
2151
|
#
|
@@ -2370,6 +2514,13 @@ module Aws::CodePipeline
|
|
2370
2514
|
include Aws::Structure
|
2371
2515
|
end
|
2372
2516
|
|
2517
|
+
# The stage has failed in a later run of the pipeline and the
|
2518
|
+
# pipelineExecutionId associated with the request is out of date.
|
2519
|
+
#
|
2520
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/NotLatestPipelineExecutionException AWS API Documentation
|
2521
|
+
#
|
2522
|
+
class NotLatestPipelineExecutionException < Aws::EmptyStructure; end
|
2523
|
+
|
2373
2524
|
# Represents information about the output of an action.
|
2374
2525
|
#
|
2375
2526
|
# @note When making an API call, you may pass OutputArtifact
|
@@ -2399,6 +2550,18 @@ module Aws::CodePipeline
|
|
2399
2550
|
include Aws::Structure
|
2400
2551
|
end
|
2401
2552
|
|
2553
|
+
# Exceeded the total size limit for all variables in the pipeline.
|
2554
|
+
#
|
2555
|
+
# @!attribute [rw] message
|
2556
|
+
# @return [String]
|
2557
|
+
#
|
2558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OutputVariablesSizeExceededException AWS API Documentation
|
2559
|
+
#
|
2560
|
+
class OutputVariablesSizeExceededException < Struct.new(
|
2561
|
+
:message)
|
2562
|
+
include Aws::Structure
|
2563
|
+
end
|
2564
|
+
|
2402
2565
|
# Represents information about a pipeline to a job worker.
|
2403
2566
|
#
|
2404
2567
|
# <note markdown="1"> PipelineContext contains `pipelineArn` and `pipelineExecutionId` for
|
@@ -2501,6 +2664,7 @@ module Aws::CodePipeline
|
|
2501
2664
|
# ],
|
2502
2665
|
# role_arn: "RoleArn",
|
2503
2666
|
# region: "AWSRegionName",
|
2667
|
+
# namespace: "ActionNamespace",
|
2504
2668
|
# },
|
2505
2669
|
# ],
|
2506
2670
|
# },
|
@@ -2519,8 +2683,8 @@ module Aws::CodePipeline
|
|
2519
2683
|
# @return [String]
|
2520
2684
|
#
|
2521
2685
|
# @!attribute [rw] artifact_store
|
2522
|
-
# Represents information about the
|
2523
|
-
#
|
2686
|
+
# Represents information about the S3 bucket where artifacts are
|
2687
|
+
# stored for the pipeline.
|
2524
2688
|
#
|
2525
2689
|
# <note markdown="1"> You must include either `artifactStore` or `artifactStores` in your
|
2526
2690
|
# pipeline, but you cannot use both. If you create a cross-region
|
@@ -2566,11 +2730,12 @@ module Aws::CodePipeline
|
|
2566
2730
|
# Represents information about an execution of a pipeline.
|
2567
2731
|
#
|
2568
2732
|
# @!attribute [rw] pipeline_name
|
2569
|
-
# The name of the pipeline
|
2733
|
+
# The name of the pipeline with the specified pipeline execution.
|
2570
2734
|
# @return [String]
|
2571
2735
|
#
|
2572
2736
|
# @!attribute [rw] pipeline_version
|
2573
|
-
# The version number of the pipeline
|
2737
|
+
# The version number of the pipeline with the specified pipeline
|
2738
|
+
# execution.
|
2574
2739
|
# @return [Integer]
|
2575
2740
|
#
|
2576
2741
|
# @!attribute [rw] pipeline_execution_id
|
@@ -2582,13 +2747,27 @@ module Aws::CodePipeline
|
|
2582
2747
|
#
|
2583
2748
|
# * InProgress: The pipeline execution is currently running.
|
2584
2749
|
#
|
2750
|
+
# * Stopped: The pipeline execution was manually stopped. For more
|
2751
|
+
# information, see [Stopped Executions][1].
|
2752
|
+
#
|
2753
|
+
# * Stopping: The pipeline execution received a request to be manually
|
2754
|
+
# stopped. Depending on the selected stop mode, the execution is
|
2755
|
+
# either completing or abandoning in-progress actions. For more
|
2756
|
+
# information, see [Stopped Executions][1].
|
2757
|
+
#
|
2585
2758
|
# * Succeeded: The pipeline execution was completed successfully.
|
2586
2759
|
#
|
2587
2760
|
# * Superseded: While this pipeline execution was waiting for the next
|
2588
2761
|
# stage to be completed, a newer pipeline execution advanced and
|
2589
|
-
# continued through the pipeline instead.
|
2762
|
+
# continued through the pipeline instead. For more information, see
|
2763
|
+
# [Superseded Executions][2].
|
2590
2764
|
#
|
2591
2765
|
# * Failed: The pipeline execution was not completed successfully.
|
2766
|
+
#
|
2767
|
+
#
|
2768
|
+
#
|
2769
|
+
# [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped
|
2770
|
+
# [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded
|
2592
2771
|
# @return [String]
|
2593
2772
|
#
|
2594
2773
|
# @!attribute [rw] artifact_revisions
|
@@ -2607,6 +2786,26 @@ module Aws::CodePipeline
|
|
2607
2786
|
include Aws::Structure
|
2608
2787
|
end
|
2609
2788
|
|
2789
|
+
# The pipeline execution was specified in an invalid format or cannot be
|
2790
|
+
# found, or an execution ID does not belong to the specified pipeline.
|
2791
|
+
#
|
2792
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionNotFoundException AWS API Documentation
|
2793
|
+
#
|
2794
|
+
class PipelineExecutionNotFoundException < Aws::EmptyStructure; end
|
2795
|
+
|
2796
|
+
# Unable to stop the pipeline execution. The execution might already be
|
2797
|
+
# in a `Stopped` state, or it might no longer be in progress.
|
2798
|
+
#
|
2799
|
+
# @!attribute [rw] message
|
2800
|
+
# @return [String]
|
2801
|
+
#
|
2802
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionNotStoppableException AWS API Documentation
|
2803
|
+
#
|
2804
|
+
class PipelineExecutionNotStoppableException < Struct.new(
|
2805
|
+
:message)
|
2806
|
+
include Aws::Structure
|
2807
|
+
end
|
2808
|
+
|
2610
2809
|
# Summary information about a pipeline execution.
|
2611
2810
|
#
|
2612
2811
|
# @!attribute [rw] pipeline_execution_id
|
@@ -2618,13 +2817,27 @@ module Aws::CodePipeline
|
|
2618
2817
|
#
|
2619
2818
|
# * InProgress: The pipeline execution is currently running.
|
2620
2819
|
#
|
2820
|
+
# * Stopped: The pipeline execution was manually stopped. For more
|
2821
|
+
# information, see [Stopped Executions][1].
|
2822
|
+
#
|
2823
|
+
# * Stopping: The pipeline execution received a request to be manually
|
2824
|
+
# stopped. Depending on the selected stop mode, the execution is
|
2825
|
+
# either completing or abandoning in-progress actions. For more
|
2826
|
+
# information, see [Stopped Executions][1].
|
2827
|
+
#
|
2621
2828
|
# * Succeeded: The pipeline execution was completed successfully.
|
2622
2829
|
#
|
2623
2830
|
# * Superseded: While this pipeline execution was waiting for the next
|
2624
2831
|
# stage to be completed, a newer pipeline execution advanced and
|
2625
|
-
# continued through the pipeline instead.
|
2832
|
+
# continued through the pipeline instead. For more information, see
|
2833
|
+
# [Superseded Executions][2].
|
2626
2834
|
#
|
2627
2835
|
# * Failed: The pipeline execution was not completed successfully.
|
2836
|
+
#
|
2837
|
+
#
|
2838
|
+
#
|
2839
|
+
# [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped
|
2840
|
+
# [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded
|
2628
2841
|
# @return [String]
|
2629
2842
|
#
|
2630
2843
|
# @!attribute [rw] start_time
|
@@ -2647,6 +2860,10 @@ module Aws::CodePipeline
|
|
2647
2860
|
# automated change detection or a `StartPipelineExecution` API call.
|
2648
2861
|
# @return [Types::ExecutionTrigger]
|
2649
2862
|
#
|
2863
|
+
# @!attribute [rw] stop_trigger
|
2864
|
+
# The interaction that stopped a pipeline execution.
|
2865
|
+
# @return [Types::StopExecutionTrigger]
|
2866
|
+
#
|
2650
2867
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionSummary AWS API Documentation
|
2651
2868
|
#
|
2652
2869
|
class PipelineExecutionSummary < Struct.new(
|
@@ -2655,7 +2872,8 @@ module Aws::CodePipeline
|
|
2655
2872
|
:start_time,
|
2656
2873
|
:last_update_time,
|
2657
2874
|
:source_revisions,
|
2658
|
-
:trigger
|
2875
|
+
:trigger,
|
2876
|
+
:stop_trigger)
|
2659
2877
|
include Aws::Structure
|
2660
2878
|
end
|
2661
2879
|
|
@@ -2683,6 +2901,18 @@ module Aws::CodePipeline
|
|
2683
2901
|
include Aws::Structure
|
2684
2902
|
end
|
2685
2903
|
|
2904
|
+
# The specified pipeline name is already in use.
|
2905
|
+
#
|
2906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineNameInUseException AWS API Documentation
|
2907
|
+
#
|
2908
|
+
class PipelineNameInUseException < Aws::EmptyStructure; end
|
2909
|
+
|
2910
|
+
# The pipeline was specified in an invalid format or cannot be found.
|
2911
|
+
#
|
2912
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineNotFoundException AWS API Documentation
|
2913
|
+
#
|
2914
|
+
class PipelineNotFoundException < Aws::EmptyStructure; end
|
2915
|
+
|
2686
2916
|
# Returns a summary of a pipeline.
|
2687
2917
|
#
|
2688
2918
|
# @!attribute [rw] name
|
@@ -2712,6 +2942,13 @@ module Aws::CodePipeline
|
|
2712
2942
|
include Aws::Structure
|
2713
2943
|
end
|
2714
2944
|
|
2945
|
+
# The pipeline version was specified in an invalid format or cannot be
|
2946
|
+
# found.
|
2947
|
+
#
|
2948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineVersionNotFoundException AWS API Documentation
|
2949
|
+
#
|
2950
|
+
class PipelineVersionNotFoundException < Aws::EmptyStructure; end
|
2951
|
+
|
2715
2952
|
# Represents the input of a `PollForJobs` action.
|
2716
2953
|
#
|
2717
2954
|
# @note When making an API call, you may pass PollForJobsInput
|
@@ -2988,6 +3225,9 @@ module Aws::CodePipeline
|
|
2988
3225
|
# external_execution_id: "ExecutionId",
|
2989
3226
|
# percent_complete: 1,
|
2990
3227
|
# },
|
3228
|
+
# output_variables: {
|
3229
|
+
# "OutputVariablesKey" => "OutputVariablesValue",
|
3230
|
+
# },
|
2991
3231
|
# }
|
2992
3232
|
#
|
2993
3233
|
# @!attribute [rw] job_id
|
@@ -3014,13 +3254,21 @@ module Aws::CodePipeline
|
|
3014
3254
|
# taken by the job worker.
|
3015
3255
|
# @return [Types::ExecutionDetails]
|
3016
3256
|
#
|
3257
|
+
# @!attribute [rw] output_variables
|
3258
|
+
# Key-value pairs produced as output by a job worker that can be made
|
3259
|
+
# available to a downstream action configuration. `outputVariables`
|
3260
|
+
# can be included only when there is no continuation token on the
|
3261
|
+
# request.
|
3262
|
+
# @return [Hash<String,String>]
|
3263
|
+
#
|
3017
3264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResultInput AWS API Documentation
|
3018
3265
|
#
|
3019
3266
|
class PutJobSuccessResultInput < Struct.new(
|
3020
3267
|
:job_id,
|
3021
3268
|
:current_revision,
|
3022
3269
|
:continuation_token,
|
3023
|
-
:execution_details
|
3270
|
+
:execution_details,
|
3271
|
+
:output_variables)
|
3024
3272
|
include Aws::Structure
|
3025
3273
|
end
|
3026
3274
|
|
@@ -3208,6 +3456,12 @@ module Aws::CodePipeline
|
|
3208
3456
|
#
|
3209
3457
|
class RegisterWebhookWithThirdPartyOutput < Aws::EmptyStructure; end
|
3210
3458
|
|
3459
|
+
# The resource was specified in an invalid format.
|
3460
|
+
#
|
3461
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ResourceNotFoundException AWS API Documentation
|
3462
|
+
#
|
3463
|
+
class ResourceNotFoundException < Aws::EmptyStructure; end
|
3464
|
+
|
3211
3465
|
# Represents the input of a `RetryStageExecution` action.
|
3212
3466
|
#
|
3213
3467
|
# @note When making an API call, you may pass RetryStageExecutionInput
|
@@ -3262,15 +3516,15 @@ module Aws::CodePipeline
|
|
3262
3516
|
include Aws::Structure
|
3263
3517
|
end
|
3264
3518
|
|
3265
|
-
# The location of the
|
3519
|
+
# The location of the S3 bucket that contains a revision.
|
3266
3520
|
#
|
3267
3521
|
# @!attribute [rw] bucket_name
|
3268
|
-
# The name of the
|
3522
|
+
# The name of the S3 bucket.
|
3269
3523
|
# @return [String]
|
3270
3524
|
#
|
3271
3525
|
# @!attribute [rw] object_key
|
3272
|
-
# The key of the object in the
|
3273
|
-
#
|
3526
|
+
# The key of the object in the S3 bucket, which uniquely identifies
|
3527
|
+
# the object in the bucket.
|
3274
3528
|
# @return [String]
|
3275
3529
|
#
|
3276
3530
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/S3ArtifactLocation AWS API Documentation
|
@@ -3387,6 +3641,7 @@ module Aws::CodePipeline
|
|
3387
3641
|
# ],
|
3388
3642
|
# role_arn: "RoleArn",
|
3389
3643
|
# region: "AWSRegionName",
|
3644
|
+
# namespace: "ActionNamespace",
|
3390
3645
|
# },
|
3391
3646
|
# ],
|
3392
3647
|
# }
|
@@ -3431,6 +3686,20 @@ module Aws::CodePipeline
|
|
3431
3686
|
include Aws::Structure
|
3432
3687
|
end
|
3433
3688
|
|
3689
|
+
# The stage was specified in an invalid format or cannot be found.
|
3690
|
+
#
|
3691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageNotFoundException AWS API Documentation
|
3692
|
+
#
|
3693
|
+
class StageNotFoundException < Aws::EmptyStructure; end
|
3694
|
+
|
3695
|
+
# Unable to retry. The pipeline structure or stage state might have
|
3696
|
+
# changed while actions awaited retry, or the stage contains no failed
|
3697
|
+
# actions.
|
3698
|
+
#
|
3699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageNotRetryableException AWS API Documentation
|
3700
|
+
#
|
3701
|
+
class StageNotRetryableException < Aws::EmptyStructure; end
|
3702
|
+
|
3434
3703
|
# Represents information about the state of the stage.
|
3435
3704
|
#
|
3436
3705
|
# @!attribute [rw] stage_name
|
@@ -3505,6 +3774,75 @@ module Aws::CodePipeline
|
|
3505
3774
|
include Aws::Structure
|
3506
3775
|
end
|
3507
3776
|
|
3777
|
+
# The interaction that stopped a pipeline execution.
|
3778
|
+
#
|
3779
|
+
# @!attribute [rw] reason
|
3780
|
+
# The user-specified reason the pipeline was stopped.
|
3781
|
+
# @return [String]
|
3782
|
+
#
|
3783
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopExecutionTrigger AWS API Documentation
|
3784
|
+
#
|
3785
|
+
class StopExecutionTrigger < Struct.new(
|
3786
|
+
:reason)
|
3787
|
+
include Aws::Structure
|
3788
|
+
end
|
3789
|
+
|
3790
|
+
# @note When making an API call, you may pass StopPipelineExecutionInput
|
3791
|
+
# data as a hash:
|
3792
|
+
#
|
3793
|
+
# {
|
3794
|
+
# pipeline_name: "PipelineName", # required
|
3795
|
+
# pipeline_execution_id: "PipelineExecutionId", # required
|
3796
|
+
# abandon: false,
|
3797
|
+
# reason: "StopPipelineExecutionReason",
|
3798
|
+
# }
|
3799
|
+
#
|
3800
|
+
# @!attribute [rw] pipeline_name
|
3801
|
+
# The name of the pipeline to stop.
|
3802
|
+
# @return [String]
|
3803
|
+
#
|
3804
|
+
# @!attribute [rw] pipeline_execution_id
|
3805
|
+
# The ID of the pipeline execution to be stopped in the current stage.
|
3806
|
+
# Use the `GetPipelineState` action to retrieve the current
|
3807
|
+
# pipelineExecutionId.
|
3808
|
+
# @return [String]
|
3809
|
+
#
|
3810
|
+
# @!attribute [rw] abandon
|
3811
|
+
# Use this option to stop the pipeline execution by abandoning, rather
|
3812
|
+
# than finishing, in-progress actions.
|
3813
|
+
#
|
3814
|
+
# <note markdown="1"> This option can lead to failed or out-of-sequence tasks.
|
3815
|
+
#
|
3816
|
+
# </note>
|
3817
|
+
# @return [Boolean]
|
3818
|
+
#
|
3819
|
+
# @!attribute [rw] reason
|
3820
|
+
# Use this option to enter comments, such as the reason the pipeline
|
3821
|
+
# was stopped.
|
3822
|
+
# @return [String]
|
3823
|
+
#
|
3824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecutionInput AWS API Documentation
|
3825
|
+
#
|
3826
|
+
class StopPipelineExecutionInput < Struct.new(
|
3827
|
+
:pipeline_name,
|
3828
|
+
:pipeline_execution_id,
|
3829
|
+
:abandon,
|
3830
|
+
:reason)
|
3831
|
+
include Aws::Structure
|
3832
|
+
end
|
3833
|
+
|
3834
|
+
# @!attribute [rw] pipeline_execution_id
|
3835
|
+
# The unique system-generated ID of the pipeline execution that was
|
3836
|
+
# stopped.
|
3837
|
+
# @return [String]
|
3838
|
+
#
|
3839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecutionOutput AWS API Documentation
|
3840
|
+
#
|
3841
|
+
class StopPipelineExecutionOutput < Struct.new(
|
3842
|
+
:pipeline_execution_id)
|
3843
|
+
include Aws::Structure
|
3844
|
+
end
|
3845
|
+
|
3508
3846
|
# A tag is a key-value pair that is used to manage the resource.
|
3509
3847
|
#
|
3510
3848
|
# @note When making an API call, you may pass Tag
|
@@ -3623,7 +3961,7 @@ module Aws::CodePipeline
|
|
3623
3961
|
# Represents an AWS session credentials object. These credentials are
|
3624
3962
|
# temporary credentials that are issued by AWS Secure Token Service
|
3625
3963
|
# (STS). They can be used to access input and output artifacts in the
|
3626
|
-
#
|
3964
|
+
# S3 bucket used to store artifact for the pipeline in AWS
|
3627
3965
|
# CodePipeline.
|
3628
3966
|
# @return [Types::AWSSessionCredentials]
|
3629
3967
|
#
|
@@ -3810,6 +4148,7 @@ module Aws::CodePipeline
|
|
3810
4148
|
# ],
|
3811
4149
|
# role_arn: "RoleArn",
|
3812
4150
|
# region: "AWSRegionName",
|
4151
|
+
# namespace: "ActionNamespace",
|
3813
4152
|
# },
|
3814
4153
|
# ],
|
3815
4154
|
# },
|
@@ -3842,6 +4181,12 @@ module Aws::CodePipeline
|
|
3842
4181
|
include Aws::Structure
|
3843
4182
|
end
|
3844
4183
|
|
4184
|
+
# The validation was specified in an invalid format.
|
4185
|
+
#
|
4186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ValidationException AWS API Documentation
|
4187
|
+
#
|
4188
|
+
class ValidationException < Aws::EmptyStructure; end
|
4189
|
+
|
3845
4190
|
# The authentication applied to incoming webhook trigger requests.
|
3846
4191
|
#
|
3847
4192
|
# @note When making an API call, you may pass WebhookAuthConfiguration
|
@@ -4002,5 +4347,12 @@ module Aws::CodePipeline
|
|
4002
4347
|
include Aws::Structure
|
4003
4348
|
end
|
4004
4349
|
|
4350
|
+
# The specified webhook was entered in an invalid format or cannot be
|
4351
|
+
# found.
|
4352
|
+
#
|
4353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/WebhookNotFoundException AWS API Documentation
|
4354
|
+
#
|
4355
|
+
class WebhookNotFoundException < Aws::EmptyStructure; end
|
4356
|
+
|
4005
4357
|
end
|
4006
4358
|
end
|