aws-sdk-codepipeline 1.36.0 → 1.41.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 +174 -9
- data/lib/aws-sdk-codepipeline/client_api.rb +142 -0
- data/lib/aws-sdk-codepipeline/errors.rb +43 -0
- data/lib/aws-sdk-codepipeline/types.rb +712 -10
- metadata +4 -4
@@ -28,9 +28,11 @@ module Aws::CodePipeline
|
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
30
|
# * {ActionNotFoundException}
|
31
|
+
# * {ActionTypeAlreadyExistsException}
|
31
32
|
# * {ActionTypeNotFoundException}
|
32
33
|
# * {ApprovalAlreadyCompletedException}
|
33
34
|
# * {ConcurrentModificationException}
|
35
|
+
# * {ConflictException}
|
34
36
|
# * {DuplicatedStopRequestException}
|
35
37
|
# * {InvalidActionDeclarationException}
|
36
38
|
# * {InvalidApprovalTokenException}
|
@@ -55,6 +57,7 @@ module Aws::CodePipeline
|
|
55
57
|
# * {PipelineNameInUseException}
|
56
58
|
# * {PipelineNotFoundException}
|
57
59
|
# * {PipelineVersionNotFoundException}
|
60
|
+
# * {RequestFailedException}
|
58
61
|
# * {ResourceNotFoundException}
|
59
62
|
# * {StageNotFoundException}
|
60
63
|
# * {StageNotRetryableException}
|
@@ -78,6 +81,16 @@ module Aws::CodePipeline
|
|
78
81
|
end
|
79
82
|
end
|
80
83
|
|
84
|
+
class ActionTypeAlreadyExistsException < ServiceError
|
85
|
+
|
86
|
+
# @param [Seahorse::Client::RequestContext] context
|
87
|
+
# @param [String] message
|
88
|
+
# @param [Aws::CodePipeline::Types::ActionTypeAlreadyExistsException] data
|
89
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
90
|
+
super(context, message, data)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
81
94
|
class ActionTypeNotFoundException < ServiceError
|
82
95
|
|
83
96
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -113,6 +126,21 @@ module Aws::CodePipeline
|
|
113
126
|
end
|
114
127
|
end
|
115
128
|
|
129
|
+
class ConflictException < ServiceError
|
130
|
+
|
131
|
+
# @param [Seahorse::Client::RequestContext] context
|
132
|
+
# @param [String] message
|
133
|
+
# @param [Aws::CodePipeline::Types::ConflictException] data
|
134
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
135
|
+
super(context, message, data)
|
136
|
+
end
|
137
|
+
|
138
|
+
# @return [String]
|
139
|
+
def message
|
140
|
+
@message || @data[:message]
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
116
144
|
class DuplicatedStopRequestException < ServiceError
|
117
145
|
|
118
146
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -378,6 +406,21 @@ module Aws::CodePipeline
|
|
378
406
|
end
|
379
407
|
end
|
380
408
|
|
409
|
+
class RequestFailedException < ServiceError
|
410
|
+
|
411
|
+
# @param [Seahorse::Client::RequestContext] context
|
412
|
+
# @param [String] message
|
413
|
+
# @param [Aws::CodePipeline::Types::RequestFailedException] data
|
414
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
415
|
+
super(context, message, data)
|
416
|
+
end
|
417
|
+
|
418
|
+
# @return [String]
|
419
|
+
def message
|
420
|
+
@message || @data[:message]
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
381
424
|
class ResourceNotFoundException < ServiceError
|
382
425
|
|
383
426
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -33,7 +33,7 @@ module Aws::CodePipeline
|
|
33
33
|
:access_key_id,
|
34
34
|
:secret_access_key,
|
35
35
|
:session_token)
|
36
|
-
SENSITIVE = []
|
36
|
+
SENSITIVE = [:access_key_id, :secret_access_key, :session_token]
|
37
37
|
include Aws::Structure
|
38
38
|
end
|
39
39
|
|
@@ -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,
|
@@ -709,6 +721,225 @@ module Aws::CodePipeline
|
|
709
721
|
include Aws::Structure
|
710
722
|
end
|
711
723
|
|
724
|
+
# The specified action type already exists with a different definition.
|
725
|
+
#
|
726
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeAlreadyExistsException AWS API Documentation
|
727
|
+
#
|
728
|
+
class ActionTypeAlreadyExistsException < Aws::EmptyStructure; end
|
729
|
+
|
730
|
+
# Information about parameters for artifacts associated with the action
|
731
|
+
# type, such as the minimum and maximum artifacts allowed.
|
732
|
+
#
|
733
|
+
# @note When making an API call, you may pass ActionTypeArtifactDetails
|
734
|
+
# data as a hash:
|
735
|
+
#
|
736
|
+
# {
|
737
|
+
# minimum_count: 1, # required
|
738
|
+
# maximum_count: 1, # required
|
739
|
+
# }
|
740
|
+
#
|
741
|
+
# @!attribute [rw] minimum_count
|
742
|
+
# The minimum allowed number of artifacts that can be used with the
|
743
|
+
# action type. For example, you should specify a minimum and maximum
|
744
|
+
# of zero input artifacts for an action type with a category of
|
745
|
+
# `source`.
|
746
|
+
# @return [Integer]
|
747
|
+
#
|
748
|
+
# @!attribute [rw] maximum_count
|
749
|
+
# The maximum allowed number of artifacts that can be used with the
|
750
|
+
# actiontype. For example, you should specify a minimum and maximum of
|
751
|
+
# zero input artifacts for an action type with a category of `source`.
|
752
|
+
# @return [Integer]
|
753
|
+
#
|
754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeArtifactDetails AWS API Documentation
|
755
|
+
#
|
756
|
+
class ActionTypeArtifactDetails < Struct.new(
|
757
|
+
:minimum_count,
|
758
|
+
:maximum_count)
|
759
|
+
SENSITIVE = []
|
760
|
+
include Aws::Structure
|
761
|
+
end
|
762
|
+
|
763
|
+
# The parameters for the action type definition that are provided when
|
764
|
+
# the action type is created or updated.
|
765
|
+
#
|
766
|
+
# @note When making an API call, you may pass ActionTypeDeclaration
|
767
|
+
# data as a hash:
|
768
|
+
#
|
769
|
+
# {
|
770
|
+
# description: "ActionTypeDescription",
|
771
|
+
# executor: { # required
|
772
|
+
# configuration: { # required
|
773
|
+
# lambda_executor_configuration: {
|
774
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
775
|
+
# },
|
776
|
+
# job_worker_executor_configuration: {
|
777
|
+
# polling_accounts: ["AccountId"],
|
778
|
+
# polling_service_principals: ["ServicePrincipal"],
|
779
|
+
# },
|
780
|
+
# },
|
781
|
+
# type: "JobWorker", # required, accepts JobWorker, Lambda
|
782
|
+
# policy_statements_template: "PolicyStatementsTemplate",
|
783
|
+
# job_timeout: 1,
|
784
|
+
# },
|
785
|
+
# id: { # required
|
786
|
+
# category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
|
787
|
+
# owner: "ActionTypeOwner", # required
|
788
|
+
# provider: "ActionProvider", # required
|
789
|
+
# version: "Version", # required
|
790
|
+
# },
|
791
|
+
# input_artifact_details: { # required
|
792
|
+
# minimum_count: 1, # required
|
793
|
+
# maximum_count: 1, # required
|
794
|
+
# },
|
795
|
+
# output_artifact_details: { # required
|
796
|
+
# minimum_count: 1, # required
|
797
|
+
# maximum_count: 1, # required
|
798
|
+
# },
|
799
|
+
# permissions: {
|
800
|
+
# allowed_accounts: ["AllowedAccount"], # required
|
801
|
+
# },
|
802
|
+
# properties: [
|
803
|
+
# {
|
804
|
+
# name: "ActionConfigurationKey", # required
|
805
|
+
# optional: false, # required
|
806
|
+
# key: false, # required
|
807
|
+
# no_echo: false, # required
|
808
|
+
# queryable: false,
|
809
|
+
# description: "PropertyDescription",
|
810
|
+
# },
|
811
|
+
# ],
|
812
|
+
# urls: {
|
813
|
+
# configuration_url: "Url",
|
814
|
+
# entity_url_template: "UrlTemplate",
|
815
|
+
# execution_url_template: "UrlTemplate",
|
816
|
+
# revision_url_template: "UrlTemplate",
|
817
|
+
# },
|
818
|
+
# }
|
819
|
+
#
|
820
|
+
# @!attribute [rw] description
|
821
|
+
# The description for the action type to be updated.
|
822
|
+
# @return [String]
|
823
|
+
#
|
824
|
+
# @!attribute [rw] executor
|
825
|
+
# Information about the executor for an action type that was created
|
826
|
+
# with any supported integration model.
|
827
|
+
# @return [Types::ActionTypeExecutor]
|
828
|
+
#
|
829
|
+
# @!attribute [rw] id
|
830
|
+
# The action ID is composed of the action category, owner, provider,
|
831
|
+
# and version of the action type to be updated.
|
832
|
+
# @return [Types::ActionTypeIdentifier]
|
833
|
+
#
|
834
|
+
# @!attribute [rw] input_artifact_details
|
835
|
+
# Details for the artifacts, such as application files, to be worked
|
836
|
+
# on by the action. For example, the minimum and maximum number of
|
837
|
+
# input artifacts allowed.
|
838
|
+
# @return [Types::ActionTypeArtifactDetails]
|
839
|
+
#
|
840
|
+
# @!attribute [rw] output_artifact_details
|
841
|
+
# Details for the output artifacts, such as a built application, that
|
842
|
+
# are the result of the action. For example, the minimum and maximum
|
843
|
+
# number of output artifacts allowed.
|
844
|
+
# @return [Types::ActionTypeArtifactDetails]
|
845
|
+
#
|
846
|
+
# @!attribute [rw] permissions
|
847
|
+
# Details identifying the accounts with permissions to use the action
|
848
|
+
# type.
|
849
|
+
# @return [Types::ActionTypePermissions]
|
850
|
+
#
|
851
|
+
# @!attribute [rw] properties
|
852
|
+
# The properties of the action type to be updated.
|
853
|
+
# @return [Array<Types::ActionTypeProperty>]
|
854
|
+
#
|
855
|
+
# @!attribute [rw] urls
|
856
|
+
# The links associated with the action type to be updated.
|
857
|
+
# @return [Types::ActionTypeUrls]
|
858
|
+
#
|
859
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeDeclaration AWS API Documentation
|
860
|
+
#
|
861
|
+
class ActionTypeDeclaration < Struct.new(
|
862
|
+
:description,
|
863
|
+
:executor,
|
864
|
+
:id,
|
865
|
+
:input_artifact_details,
|
866
|
+
:output_artifact_details,
|
867
|
+
:permissions,
|
868
|
+
:properties,
|
869
|
+
:urls)
|
870
|
+
SENSITIVE = []
|
871
|
+
include Aws::Structure
|
872
|
+
end
|
873
|
+
|
874
|
+
# The action engine, or executor, for an action type created for a
|
875
|
+
# provider, where the action is to be used by customers of the provider.
|
876
|
+
# The action engine is associated with the model used to create and
|
877
|
+
# update the action, such as the Lambda integration model.
|
878
|
+
#
|
879
|
+
# @note When making an API call, you may pass ActionTypeExecutor
|
880
|
+
# data as a hash:
|
881
|
+
#
|
882
|
+
# {
|
883
|
+
# configuration: { # required
|
884
|
+
# lambda_executor_configuration: {
|
885
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
886
|
+
# },
|
887
|
+
# job_worker_executor_configuration: {
|
888
|
+
# polling_accounts: ["AccountId"],
|
889
|
+
# polling_service_principals: ["ServicePrincipal"],
|
890
|
+
# },
|
891
|
+
# },
|
892
|
+
# type: "JobWorker", # required, accepts JobWorker, Lambda
|
893
|
+
# policy_statements_template: "PolicyStatementsTemplate",
|
894
|
+
# job_timeout: 1,
|
895
|
+
# }
|
896
|
+
#
|
897
|
+
# @!attribute [rw] configuration
|
898
|
+
# The action configuration properties for the action type. These
|
899
|
+
# properties are specified in the action definition when the action
|
900
|
+
# type is created.
|
901
|
+
# @return [Types::ExecutorConfiguration]
|
902
|
+
#
|
903
|
+
# @!attribute [rw] type
|
904
|
+
# The integration model used to create and update the action type,
|
905
|
+
# such as the Lambda integration model. Each integration type has a
|
906
|
+
# related action engine, or executor. The available executor types are
|
907
|
+
# `Lambda` and `JobWorker`.
|
908
|
+
# @return [String]
|
909
|
+
#
|
910
|
+
# @!attribute [rw] policy_statements_template
|
911
|
+
# The policy statement that specifies the permissions in the
|
912
|
+
# CodePipeline customer’s account that are needed to successfully run
|
913
|
+
# an action execution.
|
914
|
+
#
|
915
|
+
# To grant permission to another account, specify the account ID as
|
916
|
+
# the Principal. For AWS services, the Principal is a domain-style
|
917
|
+
# identifier defined by the service, like
|
918
|
+
# `codepipeline.amazonaws.com`.
|
919
|
+
#
|
920
|
+
# <note markdown="1"> The size of the passed JSON policy document cannot exceed 2048
|
921
|
+
# characters.
|
922
|
+
#
|
923
|
+
# </note>
|
924
|
+
# @return [String]
|
925
|
+
#
|
926
|
+
# @!attribute [rw] job_timeout
|
927
|
+
# The timeout in seconds for the job. An action execution can consist
|
928
|
+
# of multiple jobs. This is the timeout for a single job, and not for
|
929
|
+
# the entire action execution.
|
930
|
+
# @return [Integer]
|
931
|
+
#
|
932
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeExecutor AWS API Documentation
|
933
|
+
#
|
934
|
+
class ActionTypeExecutor < Struct.new(
|
935
|
+
:configuration,
|
936
|
+
:type,
|
937
|
+
:policy_statements_template,
|
938
|
+
:job_timeout)
|
939
|
+
SENSITIVE = []
|
940
|
+
include Aws::Structure
|
941
|
+
end
|
942
|
+
|
712
943
|
# Represents information about an action type.
|
713
944
|
#
|
714
945
|
# @note When making an API call, you may pass ActionTypeId
|
@@ -725,10 +956,30 @@ module Aws::CodePipeline
|
|
725
956
|
# A category defines what kind of action can be taken in the stage,
|
726
957
|
# and constrains the provider type for the action. Valid categories
|
727
958
|
# are limited to one of the following values.
|
959
|
+
#
|
960
|
+
# * Source
|
961
|
+
#
|
962
|
+
# * Build
|
963
|
+
#
|
964
|
+
# * Test
|
965
|
+
#
|
966
|
+
# * Deploy
|
967
|
+
#
|
968
|
+
# * Invoke
|
969
|
+
#
|
970
|
+
# * Approval
|
728
971
|
# @return [String]
|
729
972
|
#
|
730
973
|
# @!attribute [rw] owner
|
731
|
-
# The creator of the action being called.
|
974
|
+
# The creator of the action being called. There are three valid values
|
975
|
+
# for the `Owner` field in the action category section within your
|
976
|
+
# pipeline structure: `AWS`, `ThirdParty`, and `Custom`. For more
|
977
|
+
# information, see [Valid Action Types and Providers in
|
978
|
+
# CodePipeline][1].
|
979
|
+
#
|
980
|
+
#
|
981
|
+
#
|
982
|
+
# [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#actions-valid-providers
|
732
983
|
# @return [String]
|
733
984
|
#
|
734
985
|
# @!attribute [rw] provider
|
@@ -759,12 +1010,147 @@ module Aws::CodePipeline
|
|
759
1010
|
include Aws::Structure
|
760
1011
|
end
|
761
1012
|
|
1013
|
+
# Specifies the category, owner, provider, and version of the action
|
1014
|
+
# type.
|
1015
|
+
#
|
1016
|
+
# @note When making an API call, you may pass ActionTypeIdentifier
|
1017
|
+
# data as a hash:
|
1018
|
+
#
|
1019
|
+
# {
|
1020
|
+
# category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
|
1021
|
+
# owner: "ActionTypeOwner", # required
|
1022
|
+
# provider: "ActionProvider", # required
|
1023
|
+
# version: "Version", # required
|
1024
|
+
# }
|
1025
|
+
#
|
1026
|
+
# @!attribute [rw] category
|
1027
|
+
# A category defines what kind of action can be taken in the stage.
|
1028
|
+
# Valid categories are limited to one of the following values:
|
1029
|
+
#
|
1030
|
+
# * `Source`
|
1031
|
+
#
|
1032
|
+
# * `Build`
|
1033
|
+
#
|
1034
|
+
# * `Test`
|
1035
|
+
#
|
1036
|
+
# * `Deploy`
|
1037
|
+
#
|
1038
|
+
# * `Approval`
|
1039
|
+
#
|
1040
|
+
# * `Invoke`
|
1041
|
+
# @return [String]
|
1042
|
+
#
|
1043
|
+
# @!attribute [rw] owner
|
1044
|
+
# The creator of the action type being called. There are two valid
|
1045
|
+
# values for the `owner` field: `AWS` and `ThirdParty`.
|
1046
|
+
# @return [String]
|
1047
|
+
#
|
1048
|
+
# @!attribute [rw] provider
|
1049
|
+
# The provider of the action type being called. The provider name is
|
1050
|
+
# supplied when the action type is created.
|
1051
|
+
# @return [String]
|
1052
|
+
#
|
1053
|
+
# @!attribute [rw] version
|
1054
|
+
# A string that describes the action type version.
|
1055
|
+
# @return [String]
|
1056
|
+
#
|
1057
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeIdentifier AWS API Documentation
|
1058
|
+
#
|
1059
|
+
class ActionTypeIdentifier < Struct.new(
|
1060
|
+
:category,
|
1061
|
+
:owner,
|
1062
|
+
:provider,
|
1063
|
+
:version)
|
1064
|
+
SENSITIVE = []
|
1065
|
+
include Aws::Structure
|
1066
|
+
end
|
1067
|
+
|
762
1068
|
# The specified action type cannot be found.
|
763
1069
|
#
|
764
1070
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeNotFoundException AWS API Documentation
|
765
1071
|
#
|
766
1072
|
class ActionTypeNotFoundException < Aws::EmptyStructure; end
|
767
1073
|
|
1074
|
+
# Details identifying the users with permissions to use the action type.
|
1075
|
+
#
|
1076
|
+
# @note When making an API call, you may pass ActionTypePermissions
|
1077
|
+
# data as a hash:
|
1078
|
+
#
|
1079
|
+
# {
|
1080
|
+
# allowed_accounts: ["AllowedAccount"], # required
|
1081
|
+
# }
|
1082
|
+
#
|
1083
|
+
# @!attribute [rw] allowed_accounts
|
1084
|
+
# A list of AWS account IDs with allow access to use the action type
|
1085
|
+
# in their pipelines.
|
1086
|
+
# @return [Array<String>]
|
1087
|
+
#
|
1088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypePermissions AWS API Documentation
|
1089
|
+
#
|
1090
|
+
class ActionTypePermissions < Struct.new(
|
1091
|
+
:allowed_accounts)
|
1092
|
+
SENSITIVE = []
|
1093
|
+
include Aws::Structure
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# Represents information about each property specified in the action
|
1097
|
+
# configuration, such as the description and key name that display for
|
1098
|
+
# the customer using the action type.
|
1099
|
+
#
|
1100
|
+
# @note When making an API call, you may pass ActionTypeProperty
|
1101
|
+
# data as a hash:
|
1102
|
+
#
|
1103
|
+
# {
|
1104
|
+
# name: "ActionConfigurationKey", # required
|
1105
|
+
# optional: false, # required
|
1106
|
+
# key: false, # required
|
1107
|
+
# no_echo: false, # required
|
1108
|
+
# queryable: false,
|
1109
|
+
# description: "PropertyDescription",
|
1110
|
+
# }
|
1111
|
+
#
|
1112
|
+
# @!attribute [rw] name
|
1113
|
+
# The property name. This represents a field name that is displayed to
|
1114
|
+
# users.
|
1115
|
+
# @return [String]
|
1116
|
+
#
|
1117
|
+
# @!attribute [rw] optional
|
1118
|
+
# Whether the configuration property is an optional value.
|
1119
|
+
# @return [Boolean]
|
1120
|
+
#
|
1121
|
+
# @!attribute [rw] key
|
1122
|
+
# Whether the configuration property is a key.
|
1123
|
+
# @return [Boolean]
|
1124
|
+
#
|
1125
|
+
# @!attribute [rw] no_echo
|
1126
|
+
# Determines whether the field value entered by the customer is
|
1127
|
+
# logged. If `noEcho` is `true`, the value is not shown in CloudTrail
|
1128
|
+
# logs for the action execution.
|
1129
|
+
# @return [Boolean]
|
1130
|
+
#
|
1131
|
+
# @!attribute [rw] queryable
|
1132
|
+
# Indicates that the property is used with polling. An action type can
|
1133
|
+
# have up to one queryable property. If it has one, that property must
|
1134
|
+
# be both required and not secret.
|
1135
|
+
# @return [Boolean]
|
1136
|
+
#
|
1137
|
+
# @!attribute [rw] description
|
1138
|
+
# The description of the property that is displayed to users.
|
1139
|
+
# @return [String]
|
1140
|
+
#
|
1141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeProperty AWS API Documentation
|
1142
|
+
#
|
1143
|
+
class ActionTypeProperty < Struct.new(
|
1144
|
+
:name,
|
1145
|
+
:optional,
|
1146
|
+
:key,
|
1147
|
+
:no_echo,
|
1148
|
+
:queryable,
|
1149
|
+
:description)
|
1150
|
+
SENSITIVE = []
|
1151
|
+
include Aws::Structure
|
1152
|
+
end
|
1153
|
+
|
768
1154
|
# Returns information about the settings for an action type.
|
769
1155
|
#
|
770
1156
|
# @note When making an API call, you may pass ActionTypeSettings
|
@@ -815,6 +1201,55 @@ module Aws::CodePipeline
|
|
815
1201
|
include Aws::Structure
|
816
1202
|
end
|
817
1203
|
|
1204
|
+
# Returns information about URLs for web pages that display to customers
|
1205
|
+
# as links on the pipeline view, such as an external configuration page
|
1206
|
+
# for the action type.
|
1207
|
+
#
|
1208
|
+
# @note When making an API call, you may pass ActionTypeUrls
|
1209
|
+
# data as a hash:
|
1210
|
+
#
|
1211
|
+
# {
|
1212
|
+
# configuration_url: "Url",
|
1213
|
+
# entity_url_template: "UrlTemplate",
|
1214
|
+
# execution_url_template: "UrlTemplate",
|
1215
|
+
# revision_url_template: "UrlTemplate",
|
1216
|
+
# }
|
1217
|
+
#
|
1218
|
+
# @!attribute [rw] configuration_url
|
1219
|
+
# The URL returned to the CodePipeline console that contains a link to
|
1220
|
+
# the page where customers can configure the external action.
|
1221
|
+
# @return [String]
|
1222
|
+
#
|
1223
|
+
# @!attribute [rw] entity_url_template
|
1224
|
+
# The URL returned to the CodePipeline console that provides a deep
|
1225
|
+
# link to the resources of the external system, such as a status page.
|
1226
|
+
# This link is provided as part of the action display in the pipeline.
|
1227
|
+
# @return [String]
|
1228
|
+
#
|
1229
|
+
# @!attribute [rw] execution_url_template
|
1230
|
+
# The link to an execution page for the action type in progress. For
|
1231
|
+
# example, for a CodeDeploy action, this link is shown on the pipeline
|
1232
|
+
# view page in the CodePipeline console, and it links to a CodeDeploy
|
1233
|
+
# status page.
|
1234
|
+
# @return [String]
|
1235
|
+
#
|
1236
|
+
# @!attribute [rw] revision_url_template
|
1237
|
+
# The URL returned to the CodePipeline console that contains a link to
|
1238
|
+
# the page where customers can update or change the configuration of
|
1239
|
+
# the external action.
|
1240
|
+
# @return [String]
|
1241
|
+
#
|
1242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeUrls AWS API Documentation
|
1243
|
+
#
|
1244
|
+
class ActionTypeUrls < Struct.new(
|
1245
|
+
:configuration_url,
|
1246
|
+
:entity_url_template,
|
1247
|
+
:execution_url_template,
|
1248
|
+
:revision_url_template)
|
1249
|
+
SENSITIVE = []
|
1250
|
+
include Aws::Structure
|
1251
|
+
end
|
1252
|
+
|
818
1253
|
# The approval action has already been approved or rejected.
|
819
1254
|
#
|
820
1255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ApprovalAlreadyCompletedException AWS API Documentation
|
@@ -1077,6 +1512,20 @@ module Aws::CodePipeline
|
|
1077
1512
|
include Aws::Structure
|
1078
1513
|
end
|
1079
1514
|
|
1515
|
+
# Your request cannot be handled because the pipeline is busy handling
|
1516
|
+
# ongoing activities. Try again later.
|
1517
|
+
#
|
1518
|
+
# @!attribute [rw] message
|
1519
|
+
# @return [String]
|
1520
|
+
#
|
1521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ConflictException AWS API Documentation
|
1522
|
+
#
|
1523
|
+
class ConflictException < Struct.new(
|
1524
|
+
:message)
|
1525
|
+
SENSITIVE = []
|
1526
|
+
include Aws::Structure
|
1527
|
+
end
|
1528
|
+
|
1080
1529
|
# Represents the input of a CreateCustomActionType operation.
|
1081
1530
|
#
|
1082
1531
|
# @note When making an API call, you may pass CreateCustomActionTypeInput
|
@@ -1122,12 +1571,6 @@ module Aws::CodePipeline
|
|
1122
1571
|
# @!attribute [rw] category
|
1123
1572
|
# The category of the custom action, such as a build action or a test
|
1124
1573
|
# 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
1574
|
# @return [String]
|
1132
1575
|
#
|
1133
1576
|
# @!attribute [rw] provider
|
@@ -1681,6 +2124,40 @@ module Aws::CodePipeline
|
|
1681
2124
|
include Aws::Structure
|
1682
2125
|
end
|
1683
2126
|
|
2127
|
+
# The action engine, or executor, related to the supported integration
|
2128
|
+
# model used to create and update the action type. The available
|
2129
|
+
# executor types are `Lambda` and `JobWorker`.
|
2130
|
+
#
|
2131
|
+
# @note When making an API call, you may pass ExecutorConfiguration
|
2132
|
+
# data as a hash:
|
2133
|
+
#
|
2134
|
+
# {
|
2135
|
+
# lambda_executor_configuration: {
|
2136
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
2137
|
+
# },
|
2138
|
+
# job_worker_executor_configuration: {
|
2139
|
+
# polling_accounts: ["AccountId"],
|
2140
|
+
# polling_service_principals: ["ServicePrincipal"],
|
2141
|
+
# },
|
2142
|
+
# }
|
2143
|
+
#
|
2144
|
+
# @!attribute [rw] lambda_executor_configuration
|
2145
|
+
# Details about the `Lambda` executor of the action type.
|
2146
|
+
# @return [Types::LambdaExecutorConfiguration]
|
2147
|
+
#
|
2148
|
+
# @!attribute [rw] job_worker_executor_configuration
|
2149
|
+
# Details about the `JobWorker` executor of the action type.
|
2150
|
+
# @return [Types::JobWorkerExecutorConfiguration]
|
2151
|
+
#
|
2152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ExecutorConfiguration AWS API Documentation
|
2153
|
+
#
|
2154
|
+
class ExecutorConfiguration < Struct.new(
|
2155
|
+
:lambda_executor_configuration,
|
2156
|
+
:job_worker_executor_configuration)
|
2157
|
+
SENSITIVE = []
|
2158
|
+
include Aws::Structure
|
2159
|
+
end
|
2160
|
+
|
1684
2161
|
# Represents information about failure details.
|
1685
2162
|
#
|
1686
2163
|
# @note When making an API call, you may pass FailureDetails
|
@@ -1714,6 +2191,72 @@ module Aws::CodePipeline
|
|
1714
2191
|
include Aws::Structure
|
1715
2192
|
end
|
1716
2193
|
|
2194
|
+
# @note When making an API call, you may pass GetActionTypeInput
|
2195
|
+
# data as a hash:
|
2196
|
+
#
|
2197
|
+
# {
|
2198
|
+
# category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
|
2199
|
+
# owner: "ActionTypeOwner", # required
|
2200
|
+
# provider: "ActionProvider", # required
|
2201
|
+
# version: "Version", # required
|
2202
|
+
# }
|
2203
|
+
#
|
2204
|
+
# @!attribute [rw] category
|
2205
|
+
# A category defines what kind of action can be taken in the stage.
|
2206
|
+
# Valid categories are limited to one of the following values:
|
2207
|
+
#
|
2208
|
+
# * `Source`
|
2209
|
+
#
|
2210
|
+
# * `Build`
|
2211
|
+
#
|
2212
|
+
# * `Test`
|
2213
|
+
#
|
2214
|
+
# * `Deploy`
|
2215
|
+
#
|
2216
|
+
# * `Approval`
|
2217
|
+
#
|
2218
|
+
# * `Invoke`
|
2219
|
+
# @return [String]
|
2220
|
+
#
|
2221
|
+
# @!attribute [rw] owner
|
2222
|
+
# The creator of an action type that has been created with any
|
2223
|
+
# supported integration model. There are two valid values for the
|
2224
|
+
# `owner` field in the action type category: `AWS` and `ThirdParty`.
|
2225
|
+
# @return [String]
|
2226
|
+
#
|
2227
|
+
# @!attribute [rw] provider
|
2228
|
+
# The provider of the action type being called. The provider name is
|
2229
|
+
# specified when the action type is created.
|
2230
|
+
# @return [String]
|
2231
|
+
#
|
2232
|
+
# @!attribute [rw] version
|
2233
|
+
# A string that describes the action type version.
|
2234
|
+
# @return [String]
|
2235
|
+
#
|
2236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetActionTypeInput AWS API Documentation
|
2237
|
+
#
|
2238
|
+
class GetActionTypeInput < Struct.new(
|
2239
|
+
:category,
|
2240
|
+
:owner,
|
2241
|
+
:provider,
|
2242
|
+
:version)
|
2243
|
+
SENSITIVE = []
|
2244
|
+
include Aws::Structure
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
# @!attribute [rw] action_type
|
2248
|
+
# The action type information for the requested action type, such as
|
2249
|
+
# the action type ID.
|
2250
|
+
# @return [Types::ActionTypeDeclaration]
|
2251
|
+
#
|
2252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetActionTypeOutput AWS API Documentation
|
2253
|
+
#
|
2254
|
+
class GetActionTypeOutput < Struct.new(
|
2255
|
+
:action_type)
|
2256
|
+
SENSITIVE = []
|
2257
|
+
include Aws::Structure
|
2258
|
+
end
|
2259
|
+
|
1717
2260
|
# Represents the input of a `GetJobDetails` action.
|
1718
2261
|
#
|
1719
2262
|
# @note When making an API call, you may pass GetJobDetailsInput
|
@@ -2203,6 +2746,58 @@ module Aws::CodePipeline
|
|
2203
2746
|
#
|
2204
2747
|
class JobNotFoundException < Aws::EmptyStructure; end
|
2205
2748
|
|
2749
|
+
# Details about the polling configuration for the `JobWorker` action
|
2750
|
+
# engine, or executor.
|
2751
|
+
#
|
2752
|
+
# @note When making an API call, you may pass JobWorkerExecutorConfiguration
|
2753
|
+
# data as a hash:
|
2754
|
+
#
|
2755
|
+
# {
|
2756
|
+
# polling_accounts: ["AccountId"],
|
2757
|
+
# polling_service_principals: ["ServicePrincipal"],
|
2758
|
+
# }
|
2759
|
+
#
|
2760
|
+
# @!attribute [rw] polling_accounts
|
2761
|
+
# The accounts in which the job worker is configured and might poll
|
2762
|
+
# for jobs as part of the action execution.
|
2763
|
+
# @return [Array<String>]
|
2764
|
+
#
|
2765
|
+
# @!attribute [rw] polling_service_principals
|
2766
|
+
# The service Principals in which the job worker is configured and
|
2767
|
+
# might poll for jobs as part of the action execution.
|
2768
|
+
# @return [Array<String>]
|
2769
|
+
#
|
2770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobWorkerExecutorConfiguration AWS API Documentation
|
2771
|
+
#
|
2772
|
+
class JobWorkerExecutorConfiguration < Struct.new(
|
2773
|
+
:polling_accounts,
|
2774
|
+
:polling_service_principals)
|
2775
|
+
SENSITIVE = []
|
2776
|
+
include Aws::Structure
|
2777
|
+
end
|
2778
|
+
|
2779
|
+
# Details about the configuration for the `Lambda` action engine, or
|
2780
|
+
# executor.
|
2781
|
+
#
|
2782
|
+
# @note When making an API call, you may pass LambdaExecutorConfiguration
|
2783
|
+
# data as a hash:
|
2784
|
+
#
|
2785
|
+
# {
|
2786
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
2787
|
+
# }
|
2788
|
+
#
|
2789
|
+
# @!attribute [rw] lambda_function_arn
|
2790
|
+
# The ARN of the Lambda function used by the action engine.
|
2791
|
+
# @return [String]
|
2792
|
+
#
|
2793
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/LambdaExecutorConfiguration AWS API Documentation
|
2794
|
+
#
|
2795
|
+
class LambdaExecutorConfiguration < Struct.new(
|
2796
|
+
:lambda_function_arn)
|
2797
|
+
SENSITIVE = []
|
2798
|
+
include Aws::Structure
|
2799
|
+
end
|
2800
|
+
|
2206
2801
|
# The number of pipelines associated with the AWS account has exceeded
|
2207
2802
|
# the limit allowed for the account.
|
2208
2803
|
#
|
@@ -2289,6 +2884,7 @@ module Aws::CodePipeline
|
|
2289
2884
|
# {
|
2290
2885
|
# action_owner_filter: "AWS", # accepts AWS, ThirdParty, Custom
|
2291
2886
|
# next_token: "NextToken",
|
2887
|
+
# region_filter: "AWSRegionName",
|
2292
2888
|
# }
|
2293
2889
|
#
|
2294
2890
|
# @!attribute [rw] action_owner_filter
|
@@ -2302,11 +2898,16 @@ module Aws::CodePipeline
|
|
2302
2898
|
# the list.
|
2303
2899
|
# @return [String]
|
2304
2900
|
#
|
2901
|
+
# @!attribute [rw] region_filter
|
2902
|
+
# The Region to filter on for the list of action types.
|
2903
|
+
# @return [String]
|
2904
|
+
#
|
2305
2905
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypesInput AWS API Documentation
|
2306
2906
|
#
|
2307
2907
|
class ListActionTypesInput < Struct.new(
|
2308
2908
|
:action_owner_filter,
|
2309
|
-
:next_token
|
2909
|
+
:next_token,
|
2910
|
+
:region_filter)
|
2310
2911
|
SENSITIVE = []
|
2311
2912
|
include Aws::Structure
|
2312
2913
|
end
|
@@ -2753,7 +3354,7 @@ module Aws::CodePipeline
|
|
2753
3354
|
# }
|
2754
3355
|
#
|
2755
3356
|
# @!attribute [rw] name
|
2756
|
-
# The name of the
|
3357
|
+
# The name of the pipeline.
|
2757
3358
|
# @return [String]
|
2758
3359
|
#
|
2759
3360
|
# @!attribute [rw] role_arn
|
@@ -2826,6 +3427,9 @@ module Aws::CodePipeline
|
|
2826
3427
|
# @!attribute [rw] status
|
2827
3428
|
# The status of the pipeline execution.
|
2828
3429
|
#
|
3430
|
+
# * Cancelled: The pipeline’s definition was updated before the
|
3431
|
+
# pipeline execution could be completed.
|
3432
|
+
#
|
2829
3433
|
# * InProgress: The pipeline execution is currently running.
|
2830
3434
|
#
|
2831
3435
|
# * Stopped: The pipeline execution was manually stopped. For more
|
@@ -2851,6 +3455,11 @@ module Aws::CodePipeline
|
|
2851
3455
|
# [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded
|
2852
3456
|
# @return [String]
|
2853
3457
|
#
|
3458
|
+
# @!attribute [rw] status_summary
|
3459
|
+
# A summary that contains a description of the pipeline execution
|
3460
|
+
# status.
|
3461
|
+
# @return [String]
|
3462
|
+
#
|
2854
3463
|
# @!attribute [rw] artifact_revisions
|
2855
3464
|
# A list of `ArtifactRevision` objects included in a pipeline
|
2856
3465
|
# execution.
|
@@ -2863,6 +3472,7 @@ module Aws::CodePipeline
|
|
2863
3472
|
:pipeline_version,
|
2864
3473
|
:pipeline_execution_id,
|
2865
3474
|
:status,
|
3475
|
+
:status_summary,
|
2866
3476
|
:artifact_revisions)
|
2867
3477
|
SENSITIVE = []
|
2868
3478
|
include Aws::Structure
|
@@ -3557,6 +4167,20 @@ module Aws::CodePipeline
|
|
3557
4167
|
#
|
3558
4168
|
class RegisterWebhookWithThirdPartyOutput < Aws::EmptyStructure; end
|
3559
4169
|
|
4170
|
+
# The request has failed because of an unknown error, exception, or
|
4171
|
+
# failure.
|
4172
|
+
#
|
4173
|
+
# @!attribute [rw] message
|
4174
|
+
# @return [String]
|
4175
|
+
#
|
4176
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RequestFailedException AWS API Documentation
|
4177
|
+
#
|
4178
|
+
class RequestFailedException < Struct.new(
|
4179
|
+
:message)
|
4180
|
+
SENSITIVE = []
|
4181
|
+
include Aws::Structure
|
4182
|
+
end
|
4183
|
+
|
3560
4184
|
# The resource was specified in an invalid format.
|
3561
4185
|
#
|
3562
4186
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ResourceNotFoundException AWS API Documentation
|
@@ -3784,6 +4408,11 @@ module Aws::CodePipeline
|
|
3784
4408
|
# @!attribute [rw] status
|
3785
4409
|
# The status of the stage, or for a completed stage, the last status
|
3786
4410
|
# of the stage.
|
4411
|
+
#
|
4412
|
+
# <note markdown="1"> A status of cancelled means that the pipeline’s definition was
|
4413
|
+
# updated before the stage execution could be completed.
|
4414
|
+
#
|
4415
|
+
# </note>
|
3787
4416
|
# @return [String]
|
3788
4417
|
#
|
3789
4418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageExecution AWS API Documentation
|
@@ -3815,6 +4444,10 @@ module Aws::CodePipeline
|
|
3815
4444
|
# The name of the stage.
|
3816
4445
|
# @return [String]
|
3817
4446
|
#
|
4447
|
+
# @!attribute [rw] inbound_execution
|
4448
|
+
# Represents information about the run of a stage.
|
4449
|
+
# @return [Types::StageExecution]
|
4450
|
+
#
|
3818
4451
|
# @!attribute [rw] inbound_transition_state
|
3819
4452
|
# The state of the inbound transition, which is either enabled or
|
3820
4453
|
# disabled.
|
@@ -3833,6 +4466,7 @@ module Aws::CodePipeline
|
|
3833
4466
|
#
|
3834
4467
|
class StageState < Struct.new(
|
3835
4468
|
:stage_name,
|
4469
|
+
:inbound_execution,
|
3836
4470
|
:inbound_transition_state,
|
3837
4471
|
:action_states,
|
3838
4472
|
:latest_execution)
|
@@ -4210,6 +4844,74 @@ module Aws::CodePipeline
|
|
4210
4844
|
#
|
4211
4845
|
class UntagResourceOutput < Aws::EmptyStructure; end
|
4212
4846
|
|
4847
|
+
# @note When making an API call, you may pass UpdateActionTypeInput
|
4848
|
+
# data as a hash:
|
4849
|
+
#
|
4850
|
+
# {
|
4851
|
+
# action_type: {
|
4852
|
+
# description: "ActionTypeDescription",
|
4853
|
+
# executor: { # required
|
4854
|
+
# configuration: { # required
|
4855
|
+
# lambda_executor_configuration: {
|
4856
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
4857
|
+
# },
|
4858
|
+
# job_worker_executor_configuration: {
|
4859
|
+
# polling_accounts: ["AccountId"],
|
4860
|
+
# polling_service_principals: ["ServicePrincipal"],
|
4861
|
+
# },
|
4862
|
+
# },
|
4863
|
+
# type: "JobWorker", # required, accepts JobWorker, Lambda
|
4864
|
+
# policy_statements_template: "PolicyStatementsTemplate",
|
4865
|
+
# job_timeout: 1,
|
4866
|
+
# },
|
4867
|
+
# id: { # required
|
4868
|
+
# category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
|
4869
|
+
# owner: "ActionTypeOwner", # required
|
4870
|
+
# provider: "ActionProvider", # required
|
4871
|
+
# version: "Version", # required
|
4872
|
+
# },
|
4873
|
+
# input_artifact_details: { # required
|
4874
|
+
# minimum_count: 1, # required
|
4875
|
+
# maximum_count: 1, # required
|
4876
|
+
# },
|
4877
|
+
# output_artifact_details: { # required
|
4878
|
+
# minimum_count: 1, # required
|
4879
|
+
# maximum_count: 1, # required
|
4880
|
+
# },
|
4881
|
+
# permissions: {
|
4882
|
+
# allowed_accounts: ["AllowedAccount"], # required
|
4883
|
+
# },
|
4884
|
+
# properties: [
|
4885
|
+
# {
|
4886
|
+
# name: "ActionConfigurationKey", # required
|
4887
|
+
# optional: false, # required
|
4888
|
+
# key: false, # required
|
4889
|
+
# no_echo: false, # required
|
4890
|
+
# queryable: false,
|
4891
|
+
# description: "PropertyDescription",
|
4892
|
+
# },
|
4893
|
+
# ],
|
4894
|
+
# urls: {
|
4895
|
+
# configuration_url: "Url",
|
4896
|
+
# entity_url_template: "UrlTemplate",
|
4897
|
+
# execution_url_template: "UrlTemplate",
|
4898
|
+
# revision_url_template: "UrlTemplate",
|
4899
|
+
# },
|
4900
|
+
# },
|
4901
|
+
# }
|
4902
|
+
#
|
4903
|
+
# @!attribute [rw] action_type
|
4904
|
+
# The action type definition for the action type to be updated.
|
4905
|
+
# @return [Types::ActionTypeDeclaration]
|
4906
|
+
#
|
4907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdateActionTypeInput AWS API Documentation
|
4908
|
+
#
|
4909
|
+
class UpdateActionTypeInput < Struct.new(
|
4910
|
+
:action_type)
|
4911
|
+
SENSITIVE = []
|
4912
|
+
include Aws::Structure
|
4913
|
+
end
|
4914
|
+
|
4213
4915
|
# Represents the input of an `UpdatePipeline` action.
|
4214
4916
|
#
|
4215
4917
|
# @note When making an API call, you may pass UpdatePipelineInput
|