aws-sdk-codepipeline 1.38.0 → 1.43.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 +4 -4
- data/CHANGELOG.md +293 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-codepipeline.rb +1 -1
- data/lib/aws-sdk-codepipeline/client.rb +178 -5
- data/lib/aws-sdk-codepipeline/client_api.rb +136 -0
- data/lib/aws-sdk-codepipeline/errors.rb +27 -0
- data/lib/aws-sdk-codepipeline/types.rb +662 -3
- metadata +8 -5
@@ -28,6 +28,7 @@ module Aws::CodePipeline
|
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
30
|
# * {ActionNotFoundException}
|
31
|
+
# * {ActionTypeAlreadyExistsException}
|
31
32
|
# * {ActionTypeNotFoundException}
|
32
33
|
# * {ApprovalAlreadyCompletedException}
|
33
34
|
# * {ConcurrentModificationException}
|
@@ -56,6 +57,7 @@ module Aws::CodePipeline
|
|
56
57
|
# * {PipelineNameInUseException}
|
57
58
|
# * {PipelineNotFoundException}
|
58
59
|
# * {PipelineVersionNotFoundException}
|
60
|
+
# * {RequestFailedException}
|
59
61
|
# * {ResourceNotFoundException}
|
60
62
|
# * {StageNotFoundException}
|
61
63
|
# * {StageNotRetryableException}
|
@@ -79,6 +81,16 @@ module Aws::CodePipeline
|
|
79
81
|
end
|
80
82
|
end
|
81
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
|
+
|
82
94
|
class ActionTypeNotFoundException < ServiceError
|
83
95
|
|
84
96
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -394,6 +406,21 @@ module Aws::CodePipeline
|
|
394
406
|
end
|
395
407
|
end
|
396
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
|
+
|
397
424
|
class ResourceNotFoundException < ServiceError
|
398
425
|
|
399
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
|
|
@@ -721,6 +721,221 @@ module Aws::CodePipeline
|
|
721
721
|
include Aws::Structure
|
722
722
|
end
|
723
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 number of artifacts that can be used with the action
|
743
|
+
# type. For example, you should specify a minimum and maximum of zero
|
744
|
+
# input artifacts for an action type with a category of `source`.
|
745
|
+
# @return [Integer]
|
746
|
+
#
|
747
|
+
# @!attribute [rw] maximum_count
|
748
|
+
# The maximum number of artifacts that can be used with the
|
749
|
+
# actiontype. For example, you should specify a minimum and maximum of
|
750
|
+
# zero input artifacts for an action type with a category of `source`.
|
751
|
+
# @return [Integer]
|
752
|
+
#
|
753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeArtifactDetails AWS API Documentation
|
754
|
+
#
|
755
|
+
class ActionTypeArtifactDetails < Struct.new(
|
756
|
+
:minimum_count,
|
757
|
+
:maximum_count)
|
758
|
+
SENSITIVE = []
|
759
|
+
include Aws::Structure
|
760
|
+
end
|
761
|
+
|
762
|
+
# The parameters for the action type definition that are provided when
|
763
|
+
# the action type is created or updated.
|
764
|
+
#
|
765
|
+
# @note When making an API call, you may pass ActionTypeDeclaration
|
766
|
+
# data as a hash:
|
767
|
+
#
|
768
|
+
# {
|
769
|
+
# description: "ActionTypeDescription",
|
770
|
+
# executor: { # required
|
771
|
+
# configuration: { # required
|
772
|
+
# lambda_executor_configuration: {
|
773
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
774
|
+
# },
|
775
|
+
# job_worker_executor_configuration: {
|
776
|
+
# polling_accounts: ["AccountId"],
|
777
|
+
# polling_service_principals: ["ServicePrincipal"],
|
778
|
+
# },
|
779
|
+
# },
|
780
|
+
# type: "JobWorker", # required, accepts JobWorker, Lambda
|
781
|
+
# policy_statements_template: "PolicyStatementsTemplate",
|
782
|
+
# job_timeout: 1,
|
783
|
+
# },
|
784
|
+
# id: { # required
|
785
|
+
# category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
|
786
|
+
# owner: "ActionTypeOwner", # required
|
787
|
+
# provider: "ActionProvider", # required
|
788
|
+
# version: "Version", # required
|
789
|
+
# },
|
790
|
+
# input_artifact_details: { # required
|
791
|
+
# minimum_count: 1, # required
|
792
|
+
# maximum_count: 1, # required
|
793
|
+
# },
|
794
|
+
# output_artifact_details: { # required
|
795
|
+
# minimum_count: 1, # required
|
796
|
+
# maximum_count: 1, # required
|
797
|
+
# },
|
798
|
+
# permissions: {
|
799
|
+
# allowed_accounts: ["AllowedAccount"], # required
|
800
|
+
# },
|
801
|
+
# properties: [
|
802
|
+
# {
|
803
|
+
# name: "ActionConfigurationKey", # required
|
804
|
+
# optional: false, # required
|
805
|
+
# key: false, # required
|
806
|
+
# no_echo: false, # required
|
807
|
+
# queryable: false,
|
808
|
+
# description: "PropertyDescription",
|
809
|
+
# },
|
810
|
+
# ],
|
811
|
+
# urls: {
|
812
|
+
# configuration_url: "Url",
|
813
|
+
# entity_url_template: "UrlTemplate",
|
814
|
+
# execution_url_template: "UrlTemplate",
|
815
|
+
# revision_url_template: "UrlTemplate",
|
816
|
+
# },
|
817
|
+
# }
|
818
|
+
#
|
819
|
+
# @!attribute [rw] description
|
820
|
+
# The description for the action type to be updated.
|
821
|
+
# @return [String]
|
822
|
+
#
|
823
|
+
# @!attribute [rw] executor
|
824
|
+
# Information about the executor for an action type that was created
|
825
|
+
# with any supported integration model.
|
826
|
+
# @return [Types::ActionTypeExecutor]
|
827
|
+
#
|
828
|
+
# @!attribute [rw] id
|
829
|
+
# The action category, owner, provider, and version of the action type
|
830
|
+
# to be updated.
|
831
|
+
# @return [Types::ActionTypeIdentifier]
|
832
|
+
#
|
833
|
+
# @!attribute [rw] input_artifact_details
|
834
|
+
# Details for the artifacts, such as application files, to be worked
|
835
|
+
# on by the action. For example, the minimum and maximum number of
|
836
|
+
# input artifacts allowed.
|
837
|
+
# @return [Types::ActionTypeArtifactDetails]
|
838
|
+
#
|
839
|
+
# @!attribute [rw] output_artifact_details
|
840
|
+
# Details for the output artifacts, such as a built application, that
|
841
|
+
# are the result of the action. For example, the minimum and maximum
|
842
|
+
# number of output artifacts allowed.
|
843
|
+
# @return [Types::ActionTypeArtifactDetails]
|
844
|
+
#
|
845
|
+
# @!attribute [rw] permissions
|
846
|
+
# Details identifying the accounts with permissions to use the action
|
847
|
+
# type.
|
848
|
+
# @return [Types::ActionTypePermissions]
|
849
|
+
#
|
850
|
+
# @!attribute [rw] properties
|
851
|
+
# The properties of the action type to be updated.
|
852
|
+
# @return [Array<Types::ActionTypeProperty>]
|
853
|
+
#
|
854
|
+
# @!attribute [rw] urls
|
855
|
+
# The links associated with the action type to be updated.
|
856
|
+
# @return [Types::ActionTypeUrls]
|
857
|
+
#
|
858
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeDeclaration AWS API Documentation
|
859
|
+
#
|
860
|
+
class ActionTypeDeclaration < Struct.new(
|
861
|
+
:description,
|
862
|
+
:executor,
|
863
|
+
:id,
|
864
|
+
:input_artifact_details,
|
865
|
+
:output_artifact_details,
|
866
|
+
:permissions,
|
867
|
+
:properties,
|
868
|
+
:urls)
|
869
|
+
SENSITIVE = []
|
870
|
+
include Aws::Structure
|
871
|
+
end
|
872
|
+
|
873
|
+
# The action engine, or executor, for an action type created for a
|
874
|
+
# provider, where the action is to be used by customers of the provider.
|
875
|
+
# The action engine is associated with the model used to create and
|
876
|
+
# update the action, such as the Lambda integration model.
|
877
|
+
#
|
878
|
+
# @note When making an API call, you may pass ActionTypeExecutor
|
879
|
+
# data as a hash:
|
880
|
+
#
|
881
|
+
# {
|
882
|
+
# configuration: { # required
|
883
|
+
# lambda_executor_configuration: {
|
884
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
885
|
+
# },
|
886
|
+
# job_worker_executor_configuration: {
|
887
|
+
# polling_accounts: ["AccountId"],
|
888
|
+
# polling_service_principals: ["ServicePrincipal"],
|
889
|
+
# },
|
890
|
+
# },
|
891
|
+
# type: "JobWorker", # required, accepts JobWorker, Lambda
|
892
|
+
# policy_statements_template: "PolicyStatementsTemplate",
|
893
|
+
# job_timeout: 1,
|
894
|
+
# }
|
895
|
+
#
|
896
|
+
# @!attribute [rw] configuration
|
897
|
+
# The action configuration properties for the action type. These
|
898
|
+
# properties are specified in the action definition when the action
|
899
|
+
# type is created.
|
900
|
+
# @return [Types::ExecutorConfiguration]
|
901
|
+
#
|
902
|
+
# @!attribute [rw] type
|
903
|
+
# The integration model used to create and update the action type,
|
904
|
+
# `Lambda` or `JobWorker`.
|
905
|
+
# @return [String]
|
906
|
+
#
|
907
|
+
# @!attribute [rw] policy_statements_template
|
908
|
+
# The policy statement that specifies the permissions in the
|
909
|
+
# CodePipeline customer’s account that are needed to successfully run
|
910
|
+
# an action.
|
911
|
+
#
|
912
|
+
# To grant permission to another account, specify the account ID as
|
913
|
+
# the Principal, a domain-style identifier defined by the service, for
|
914
|
+
# example `codepipeline.amazonaws.com`.
|
915
|
+
#
|
916
|
+
# <note markdown="1"> The size of the passed JSON policy document cannot exceed 2048
|
917
|
+
# characters.
|
918
|
+
#
|
919
|
+
# </note>
|
920
|
+
# @return [String]
|
921
|
+
#
|
922
|
+
# @!attribute [rw] job_timeout
|
923
|
+
# The timeout in seconds for the job. An action execution can have
|
924
|
+
# multiple jobs. This is the timeout for a single job, not the entire
|
925
|
+
# action execution.
|
926
|
+
# @return [Integer]
|
927
|
+
#
|
928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeExecutor AWS API Documentation
|
929
|
+
#
|
930
|
+
class ActionTypeExecutor < Struct.new(
|
931
|
+
:configuration,
|
932
|
+
:type,
|
933
|
+
:policy_statements_template,
|
934
|
+
:job_timeout)
|
935
|
+
SENSITIVE = []
|
936
|
+
include Aws::Structure
|
937
|
+
end
|
938
|
+
|
724
939
|
# Represents information about an action type.
|
725
940
|
#
|
726
941
|
# @note When making an API call, you may pass ActionTypeId
|
@@ -791,12 +1006,145 @@ module Aws::CodePipeline
|
|
791
1006
|
include Aws::Structure
|
792
1007
|
end
|
793
1008
|
|
1009
|
+
# Specifies the category, owner, provider, and version of the action
|
1010
|
+
# type.
|
1011
|
+
#
|
1012
|
+
# @note When making an API call, you may pass ActionTypeIdentifier
|
1013
|
+
# data as a hash:
|
1014
|
+
#
|
1015
|
+
# {
|
1016
|
+
# category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
|
1017
|
+
# owner: "ActionTypeOwner", # required
|
1018
|
+
# provider: "ActionProvider", # required
|
1019
|
+
# version: "Version", # required
|
1020
|
+
# }
|
1021
|
+
#
|
1022
|
+
# @!attribute [rw] category
|
1023
|
+
# Defines what kind of action can be taken in the stage, one of the
|
1024
|
+
# following:
|
1025
|
+
#
|
1026
|
+
# * `Source`
|
1027
|
+
#
|
1028
|
+
# * `Build`
|
1029
|
+
#
|
1030
|
+
# * `Test`
|
1031
|
+
#
|
1032
|
+
# * `Deploy`
|
1033
|
+
#
|
1034
|
+
# * `Approval`
|
1035
|
+
#
|
1036
|
+
# * `Invoke`
|
1037
|
+
# @return [String]
|
1038
|
+
#
|
1039
|
+
# @!attribute [rw] owner
|
1040
|
+
# The creator of the action type being called: `AWS` or `ThirdParty`.
|
1041
|
+
# @return [String]
|
1042
|
+
#
|
1043
|
+
# @!attribute [rw] provider
|
1044
|
+
# The provider of the action type being called. The provider name is
|
1045
|
+
# supplied when the action type is created.
|
1046
|
+
# @return [String]
|
1047
|
+
#
|
1048
|
+
# @!attribute [rw] version
|
1049
|
+
# A string that describes the action type version.
|
1050
|
+
# @return [String]
|
1051
|
+
#
|
1052
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeIdentifier AWS API Documentation
|
1053
|
+
#
|
1054
|
+
class ActionTypeIdentifier < Struct.new(
|
1055
|
+
:category,
|
1056
|
+
:owner,
|
1057
|
+
:provider,
|
1058
|
+
:version)
|
1059
|
+
SENSITIVE = []
|
1060
|
+
include Aws::Structure
|
1061
|
+
end
|
1062
|
+
|
794
1063
|
# The specified action type cannot be found.
|
795
1064
|
#
|
796
1065
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeNotFoundException AWS API Documentation
|
797
1066
|
#
|
798
1067
|
class ActionTypeNotFoundException < Aws::EmptyStructure; end
|
799
1068
|
|
1069
|
+
# Details identifying the users with permissions to use the action type.
|
1070
|
+
#
|
1071
|
+
# @note When making an API call, you may pass ActionTypePermissions
|
1072
|
+
# data as a hash:
|
1073
|
+
#
|
1074
|
+
# {
|
1075
|
+
# allowed_accounts: ["AllowedAccount"], # required
|
1076
|
+
# }
|
1077
|
+
#
|
1078
|
+
# @!attribute [rw] allowed_accounts
|
1079
|
+
# A list of AWS account IDs with access to use the action type in
|
1080
|
+
# their pipelines.
|
1081
|
+
# @return [Array<String>]
|
1082
|
+
#
|
1083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypePermissions AWS API Documentation
|
1084
|
+
#
|
1085
|
+
class ActionTypePermissions < Struct.new(
|
1086
|
+
:allowed_accounts)
|
1087
|
+
SENSITIVE = []
|
1088
|
+
include Aws::Structure
|
1089
|
+
end
|
1090
|
+
|
1091
|
+
# Represents information about each property specified in the action
|
1092
|
+
# configuration, such as the description and key name that display for
|
1093
|
+
# the customer using the action type.
|
1094
|
+
#
|
1095
|
+
# @note When making an API call, you may pass ActionTypeProperty
|
1096
|
+
# data as a hash:
|
1097
|
+
#
|
1098
|
+
# {
|
1099
|
+
# name: "ActionConfigurationKey", # required
|
1100
|
+
# optional: false, # required
|
1101
|
+
# key: false, # required
|
1102
|
+
# no_echo: false, # required
|
1103
|
+
# queryable: false,
|
1104
|
+
# description: "PropertyDescription",
|
1105
|
+
# }
|
1106
|
+
#
|
1107
|
+
# @!attribute [rw] name
|
1108
|
+
# The property name that is displayed to users.
|
1109
|
+
# @return [String]
|
1110
|
+
#
|
1111
|
+
# @!attribute [rw] optional
|
1112
|
+
# Whether the configuration property is an optional value.
|
1113
|
+
# @return [Boolean]
|
1114
|
+
#
|
1115
|
+
# @!attribute [rw] key
|
1116
|
+
# Whether the configuration property is a key.
|
1117
|
+
# @return [Boolean]
|
1118
|
+
#
|
1119
|
+
# @!attribute [rw] no_echo
|
1120
|
+
# Whether to omit the field value entered by the customer in the log.
|
1121
|
+
# If `true`, the value is not saved in CloudTrail logs for the action
|
1122
|
+
# execution.
|
1123
|
+
# @return [Boolean]
|
1124
|
+
#
|
1125
|
+
# @!attribute [rw] queryable
|
1126
|
+
# Indicates that the property is used with polling. An action type can
|
1127
|
+
# have up to one queryable property. If it has one, that property must
|
1128
|
+
# be both required and not secret.
|
1129
|
+
# @return [Boolean]
|
1130
|
+
#
|
1131
|
+
# @!attribute [rw] description
|
1132
|
+
# The description of the property that is displayed to users.
|
1133
|
+
# @return [String]
|
1134
|
+
#
|
1135
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeProperty AWS API Documentation
|
1136
|
+
#
|
1137
|
+
class ActionTypeProperty < Struct.new(
|
1138
|
+
:name,
|
1139
|
+
:optional,
|
1140
|
+
:key,
|
1141
|
+
:no_echo,
|
1142
|
+
:queryable,
|
1143
|
+
:description)
|
1144
|
+
SENSITIVE = []
|
1145
|
+
include Aws::Structure
|
1146
|
+
end
|
1147
|
+
|
800
1148
|
# Returns information about the settings for an action type.
|
801
1149
|
#
|
802
1150
|
# @note When making an API call, you may pass ActionTypeSettings
|
@@ -847,6 +1195,55 @@ module Aws::CodePipeline
|
|
847
1195
|
include Aws::Structure
|
848
1196
|
end
|
849
1197
|
|
1198
|
+
# Returns information about URLs for web pages that display to customers
|
1199
|
+
# as links on the pipeline view, such as an external configuration page
|
1200
|
+
# for the action type.
|
1201
|
+
#
|
1202
|
+
# @note When making an API call, you may pass ActionTypeUrls
|
1203
|
+
# data as a hash:
|
1204
|
+
#
|
1205
|
+
# {
|
1206
|
+
# configuration_url: "Url",
|
1207
|
+
# entity_url_template: "UrlTemplate",
|
1208
|
+
# execution_url_template: "UrlTemplate",
|
1209
|
+
# revision_url_template: "UrlTemplate",
|
1210
|
+
# }
|
1211
|
+
#
|
1212
|
+
# @!attribute [rw] configuration_url
|
1213
|
+
# The URL returned to the CodePipeline console that contains a link to
|
1214
|
+
# the page where customers can configure the external action.
|
1215
|
+
# @return [String]
|
1216
|
+
#
|
1217
|
+
# @!attribute [rw] entity_url_template
|
1218
|
+
# The URL returned to the CodePipeline console that provides a deep
|
1219
|
+
# link to the resources of the external system, such as a status page.
|
1220
|
+
# This link is provided as part of the action display in the pipeline.
|
1221
|
+
# @return [String]
|
1222
|
+
#
|
1223
|
+
# @!attribute [rw] execution_url_template
|
1224
|
+
# The link to an execution page for the action type in progress. For
|
1225
|
+
# example, for a CodeDeploy action, this link is shown on the pipeline
|
1226
|
+
# view page in the CodePipeline console, and it links to a CodeDeploy
|
1227
|
+
# status page.
|
1228
|
+
# @return [String]
|
1229
|
+
#
|
1230
|
+
# @!attribute [rw] revision_url_template
|
1231
|
+
# The URL returned to the CodePipeline console that contains a link to
|
1232
|
+
# the page where customers can update or change the configuration of
|
1233
|
+
# the external action.
|
1234
|
+
# @return [String]
|
1235
|
+
#
|
1236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeUrls AWS API Documentation
|
1237
|
+
#
|
1238
|
+
class ActionTypeUrls < Struct.new(
|
1239
|
+
:configuration_url,
|
1240
|
+
:entity_url_template,
|
1241
|
+
:execution_url_template,
|
1242
|
+
:revision_url_template)
|
1243
|
+
SENSITIVE = []
|
1244
|
+
include Aws::Structure
|
1245
|
+
end
|
1246
|
+
|
850
1247
|
# The approval action has already been approved or rejected.
|
851
1248
|
#
|
852
1249
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ApprovalAlreadyCompletedException AWS API Documentation
|
@@ -1721,6 +2118,40 @@ module Aws::CodePipeline
|
|
1721
2118
|
include Aws::Structure
|
1722
2119
|
end
|
1723
2120
|
|
2121
|
+
# The action engine, or executor, related to the supported integration
|
2122
|
+
# model used to create and update the action type. The available
|
2123
|
+
# executor types are `Lambda` and `JobWorker`.
|
2124
|
+
#
|
2125
|
+
# @note When making an API call, you may pass ExecutorConfiguration
|
2126
|
+
# data as a hash:
|
2127
|
+
#
|
2128
|
+
# {
|
2129
|
+
# lambda_executor_configuration: {
|
2130
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
2131
|
+
# },
|
2132
|
+
# job_worker_executor_configuration: {
|
2133
|
+
# polling_accounts: ["AccountId"],
|
2134
|
+
# polling_service_principals: ["ServicePrincipal"],
|
2135
|
+
# },
|
2136
|
+
# }
|
2137
|
+
#
|
2138
|
+
# @!attribute [rw] lambda_executor_configuration
|
2139
|
+
# Details about the `Lambda` executor of the action type.
|
2140
|
+
# @return [Types::LambdaExecutorConfiguration]
|
2141
|
+
#
|
2142
|
+
# @!attribute [rw] job_worker_executor_configuration
|
2143
|
+
# Details about the `JobWorker` executor of the action type.
|
2144
|
+
# @return [Types::JobWorkerExecutorConfiguration]
|
2145
|
+
#
|
2146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ExecutorConfiguration AWS API Documentation
|
2147
|
+
#
|
2148
|
+
class ExecutorConfiguration < Struct.new(
|
2149
|
+
:lambda_executor_configuration,
|
2150
|
+
:job_worker_executor_configuration)
|
2151
|
+
SENSITIVE = []
|
2152
|
+
include Aws::Structure
|
2153
|
+
end
|
2154
|
+
|
1724
2155
|
# Represents information about failure details.
|
1725
2156
|
#
|
1726
2157
|
# @note When making an API call, you may pass FailureDetails
|
@@ -1754,6 +2185,72 @@ module Aws::CodePipeline
|
|
1754
2185
|
include Aws::Structure
|
1755
2186
|
end
|
1756
2187
|
|
2188
|
+
# @note When making an API call, you may pass GetActionTypeInput
|
2189
|
+
# data as a hash:
|
2190
|
+
#
|
2191
|
+
# {
|
2192
|
+
# category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
|
2193
|
+
# owner: "ActionTypeOwner", # required
|
2194
|
+
# provider: "ActionProvider", # required
|
2195
|
+
# version: "Version", # required
|
2196
|
+
# }
|
2197
|
+
#
|
2198
|
+
# @!attribute [rw] category
|
2199
|
+
# Defines what kind of action can be taken in the stage. The following
|
2200
|
+
# are the valid values:
|
2201
|
+
#
|
2202
|
+
# * `Source`
|
2203
|
+
#
|
2204
|
+
# * `Build`
|
2205
|
+
#
|
2206
|
+
# * `Test`
|
2207
|
+
#
|
2208
|
+
# * `Deploy`
|
2209
|
+
#
|
2210
|
+
# * `Approval`
|
2211
|
+
#
|
2212
|
+
# * `Invoke`
|
2213
|
+
# @return [String]
|
2214
|
+
#
|
2215
|
+
# @!attribute [rw] owner
|
2216
|
+
# The creator of an action type that was created with any supported
|
2217
|
+
# integration model. There are two valid values: `AWS` and
|
2218
|
+
# `ThirdParty`.
|
2219
|
+
# @return [String]
|
2220
|
+
#
|
2221
|
+
# @!attribute [rw] provider
|
2222
|
+
# The provider of the action type being called. The provider name is
|
2223
|
+
# specified when the action type is created.
|
2224
|
+
# @return [String]
|
2225
|
+
#
|
2226
|
+
# @!attribute [rw] version
|
2227
|
+
# A string that describes the action type version.
|
2228
|
+
# @return [String]
|
2229
|
+
#
|
2230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetActionTypeInput AWS API Documentation
|
2231
|
+
#
|
2232
|
+
class GetActionTypeInput < Struct.new(
|
2233
|
+
:category,
|
2234
|
+
:owner,
|
2235
|
+
:provider,
|
2236
|
+
:version)
|
2237
|
+
SENSITIVE = []
|
2238
|
+
include Aws::Structure
|
2239
|
+
end
|
2240
|
+
|
2241
|
+
# @!attribute [rw] action_type
|
2242
|
+
# The action type information for the requested action type, such as
|
2243
|
+
# the action type ID.
|
2244
|
+
# @return [Types::ActionTypeDeclaration]
|
2245
|
+
#
|
2246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetActionTypeOutput AWS API Documentation
|
2247
|
+
#
|
2248
|
+
class GetActionTypeOutput < Struct.new(
|
2249
|
+
:action_type)
|
2250
|
+
SENSITIVE = []
|
2251
|
+
include Aws::Structure
|
2252
|
+
end
|
2253
|
+
|
1757
2254
|
# Represents the input of a `GetJobDetails` action.
|
1758
2255
|
#
|
1759
2256
|
# @note When making an API call, you may pass GetJobDetailsInput
|
@@ -2243,6 +2740,58 @@ module Aws::CodePipeline
|
|
2243
2740
|
#
|
2244
2741
|
class JobNotFoundException < Aws::EmptyStructure; end
|
2245
2742
|
|
2743
|
+
# Details about the polling configuration for the `JobWorker` action
|
2744
|
+
# engine, or executor.
|
2745
|
+
#
|
2746
|
+
# @note When making an API call, you may pass JobWorkerExecutorConfiguration
|
2747
|
+
# data as a hash:
|
2748
|
+
#
|
2749
|
+
# {
|
2750
|
+
# polling_accounts: ["AccountId"],
|
2751
|
+
# polling_service_principals: ["ServicePrincipal"],
|
2752
|
+
# }
|
2753
|
+
#
|
2754
|
+
# @!attribute [rw] polling_accounts
|
2755
|
+
# The accounts in which the job worker is configured and might poll
|
2756
|
+
# for jobs as part of the action execution.
|
2757
|
+
# @return [Array<String>]
|
2758
|
+
#
|
2759
|
+
# @!attribute [rw] polling_service_principals
|
2760
|
+
# The service Principals in which the job worker is configured and
|
2761
|
+
# might poll for jobs as part of the action execution.
|
2762
|
+
# @return [Array<String>]
|
2763
|
+
#
|
2764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobWorkerExecutorConfiguration AWS API Documentation
|
2765
|
+
#
|
2766
|
+
class JobWorkerExecutorConfiguration < Struct.new(
|
2767
|
+
:polling_accounts,
|
2768
|
+
:polling_service_principals)
|
2769
|
+
SENSITIVE = []
|
2770
|
+
include Aws::Structure
|
2771
|
+
end
|
2772
|
+
|
2773
|
+
# Details about the configuration for the `Lambda` action engine, or
|
2774
|
+
# executor.
|
2775
|
+
#
|
2776
|
+
# @note When making an API call, you may pass LambdaExecutorConfiguration
|
2777
|
+
# data as a hash:
|
2778
|
+
#
|
2779
|
+
# {
|
2780
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
2781
|
+
# }
|
2782
|
+
#
|
2783
|
+
# @!attribute [rw] lambda_function_arn
|
2784
|
+
# The ARN of the Lambda function used by the action engine.
|
2785
|
+
# @return [String]
|
2786
|
+
#
|
2787
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/LambdaExecutorConfiguration AWS API Documentation
|
2788
|
+
#
|
2789
|
+
class LambdaExecutorConfiguration < Struct.new(
|
2790
|
+
:lambda_function_arn)
|
2791
|
+
SENSITIVE = []
|
2792
|
+
include Aws::Structure
|
2793
|
+
end
|
2794
|
+
|
2246
2795
|
# The number of pipelines associated with the AWS account has exceeded
|
2247
2796
|
# the limit allowed for the account.
|
2248
2797
|
#
|
@@ -2329,6 +2878,7 @@ module Aws::CodePipeline
|
|
2329
2878
|
# {
|
2330
2879
|
# action_owner_filter: "AWS", # accepts AWS, ThirdParty, Custom
|
2331
2880
|
# next_token: "NextToken",
|
2881
|
+
# region_filter: "AWSRegionName",
|
2332
2882
|
# }
|
2333
2883
|
#
|
2334
2884
|
# @!attribute [rw] action_owner_filter
|
@@ -2342,11 +2892,16 @@ module Aws::CodePipeline
|
|
2342
2892
|
# the list.
|
2343
2893
|
# @return [String]
|
2344
2894
|
#
|
2895
|
+
# @!attribute [rw] region_filter
|
2896
|
+
# The Region to filter on for the list of action types.
|
2897
|
+
# @return [String]
|
2898
|
+
#
|
2345
2899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypesInput AWS API Documentation
|
2346
2900
|
#
|
2347
2901
|
class ListActionTypesInput < Struct.new(
|
2348
2902
|
:action_owner_filter,
|
2349
|
-
:next_token
|
2903
|
+
:next_token,
|
2904
|
+
:region_filter)
|
2350
2905
|
SENSITIVE = []
|
2351
2906
|
include Aws::Structure
|
2352
2907
|
end
|
@@ -2441,6 +2996,7 @@ module Aws::CodePipeline
|
|
2441
2996
|
#
|
2442
2997
|
# {
|
2443
2998
|
# next_token: "NextToken",
|
2999
|
+
# max_results: 1,
|
2444
3000
|
# }
|
2445
3001
|
#
|
2446
3002
|
# @!attribute [rw] next_token
|
@@ -2449,10 +3005,18 @@ module Aws::CodePipeline
|
|
2449
3005
|
# list.
|
2450
3006
|
# @return [String]
|
2451
3007
|
#
|
3008
|
+
# @!attribute [rw] max_results
|
3009
|
+
# The maximum number of pipelines to return in a single call. To
|
3010
|
+
# retrieve the remaining pipelines, make another call with the
|
3011
|
+
# returned nextToken value. The minimum value you can specify is 1.
|
3012
|
+
# The maximum accepted value is 1000.
|
3013
|
+
# @return [Integer]
|
3014
|
+
#
|
2452
3015
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelinesInput AWS API Documentation
|
2453
3016
|
#
|
2454
3017
|
class ListPipelinesInput < Struct.new(
|
2455
|
-
:next_token
|
3018
|
+
:next_token,
|
3019
|
+
:max_results)
|
2456
3020
|
SENSITIVE = []
|
2457
3021
|
include Aws::Structure
|
2458
3022
|
end
|
@@ -2866,6 +3430,9 @@ module Aws::CodePipeline
|
|
2866
3430
|
# @!attribute [rw] status
|
2867
3431
|
# The status of the pipeline execution.
|
2868
3432
|
#
|
3433
|
+
# * Cancelled: The pipeline’s definition was updated before the
|
3434
|
+
# pipeline execution could be completed.
|
3435
|
+
#
|
2869
3436
|
# * InProgress: The pipeline execution is currently running.
|
2870
3437
|
#
|
2871
3438
|
# * Stopped: The pipeline execution was manually stopped. For more
|
@@ -2891,6 +3458,11 @@ module Aws::CodePipeline
|
|
2891
3458
|
# [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded
|
2892
3459
|
# @return [String]
|
2893
3460
|
#
|
3461
|
+
# @!attribute [rw] status_summary
|
3462
|
+
# A summary that contains a description of the pipeline execution
|
3463
|
+
# status.
|
3464
|
+
# @return [String]
|
3465
|
+
#
|
2894
3466
|
# @!attribute [rw] artifact_revisions
|
2895
3467
|
# A list of `ArtifactRevision` objects included in a pipeline
|
2896
3468
|
# execution.
|
@@ -2903,6 +3475,7 @@ module Aws::CodePipeline
|
|
2903
3475
|
:pipeline_version,
|
2904
3476
|
:pipeline_execution_id,
|
2905
3477
|
:status,
|
3478
|
+
:status_summary,
|
2906
3479
|
:artifact_revisions)
|
2907
3480
|
SENSITIVE = []
|
2908
3481
|
include Aws::Structure
|
@@ -3597,6 +4170,19 @@ module Aws::CodePipeline
|
|
3597
4170
|
#
|
3598
4171
|
class RegisterWebhookWithThirdPartyOutput < Aws::EmptyStructure; end
|
3599
4172
|
|
4173
|
+
# The request failed because of an unknown error, exception, or failure.
|
4174
|
+
#
|
4175
|
+
# @!attribute [rw] message
|
4176
|
+
# @return [String]
|
4177
|
+
#
|
4178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RequestFailedException AWS API Documentation
|
4179
|
+
#
|
4180
|
+
class RequestFailedException < Struct.new(
|
4181
|
+
:message)
|
4182
|
+
SENSITIVE = []
|
4183
|
+
include Aws::Structure
|
4184
|
+
end
|
4185
|
+
|
3600
4186
|
# The resource was specified in an invalid format.
|
3601
4187
|
#
|
3602
4188
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ResourceNotFoundException AWS API Documentation
|
@@ -3824,6 +4410,11 @@ module Aws::CodePipeline
|
|
3824
4410
|
# @!attribute [rw] status
|
3825
4411
|
# The status of the stage, or for a completed stage, the last status
|
3826
4412
|
# of the stage.
|
4413
|
+
#
|
4414
|
+
# <note markdown="1"> A status of cancelled means that the pipeline’s definition was
|
4415
|
+
# updated before the stage execution could be completed.
|
4416
|
+
#
|
4417
|
+
# </note>
|
3827
4418
|
# @return [String]
|
3828
4419
|
#
|
3829
4420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageExecution AWS API Documentation
|
@@ -4255,6 +4846,74 @@ module Aws::CodePipeline
|
|
4255
4846
|
#
|
4256
4847
|
class UntagResourceOutput < Aws::EmptyStructure; end
|
4257
4848
|
|
4849
|
+
# @note When making an API call, you may pass UpdateActionTypeInput
|
4850
|
+
# data as a hash:
|
4851
|
+
#
|
4852
|
+
# {
|
4853
|
+
# action_type: { # required
|
4854
|
+
# description: "ActionTypeDescription",
|
4855
|
+
# executor: { # required
|
4856
|
+
# configuration: { # required
|
4857
|
+
# lambda_executor_configuration: {
|
4858
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
4859
|
+
# },
|
4860
|
+
# job_worker_executor_configuration: {
|
4861
|
+
# polling_accounts: ["AccountId"],
|
4862
|
+
# polling_service_principals: ["ServicePrincipal"],
|
4863
|
+
# },
|
4864
|
+
# },
|
4865
|
+
# type: "JobWorker", # required, accepts JobWorker, Lambda
|
4866
|
+
# policy_statements_template: "PolicyStatementsTemplate",
|
4867
|
+
# job_timeout: 1,
|
4868
|
+
# },
|
4869
|
+
# id: { # required
|
4870
|
+
# category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
|
4871
|
+
# owner: "ActionTypeOwner", # required
|
4872
|
+
# provider: "ActionProvider", # required
|
4873
|
+
# version: "Version", # required
|
4874
|
+
# },
|
4875
|
+
# input_artifact_details: { # required
|
4876
|
+
# minimum_count: 1, # required
|
4877
|
+
# maximum_count: 1, # required
|
4878
|
+
# },
|
4879
|
+
# output_artifact_details: { # required
|
4880
|
+
# minimum_count: 1, # required
|
4881
|
+
# maximum_count: 1, # required
|
4882
|
+
# },
|
4883
|
+
# permissions: {
|
4884
|
+
# allowed_accounts: ["AllowedAccount"], # required
|
4885
|
+
# },
|
4886
|
+
# properties: [
|
4887
|
+
# {
|
4888
|
+
# name: "ActionConfigurationKey", # required
|
4889
|
+
# optional: false, # required
|
4890
|
+
# key: false, # required
|
4891
|
+
# no_echo: false, # required
|
4892
|
+
# queryable: false,
|
4893
|
+
# description: "PropertyDescription",
|
4894
|
+
# },
|
4895
|
+
# ],
|
4896
|
+
# urls: {
|
4897
|
+
# configuration_url: "Url",
|
4898
|
+
# entity_url_template: "UrlTemplate",
|
4899
|
+
# execution_url_template: "UrlTemplate",
|
4900
|
+
# revision_url_template: "UrlTemplate",
|
4901
|
+
# },
|
4902
|
+
# },
|
4903
|
+
# }
|
4904
|
+
#
|
4905
|
+
# @!attribute [rw] action_type
|
4906
|
+
# The action type definition for the action type to be updated.
|
4907
|
+
# @return [Types::ActionTypeDeclaration]
|
4908
|
+
#
|
4909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdateActionTypeInput AWS API Documentation
|
4910
|
+
#
|
4911
|
+
class UpdateActionTypeInput < Struct.new(
|
4912
|
+
:action_type)
|
4913
|
+
SENSITIVE = []
|
4914
|
+
include Aws::Structure
|
4915
|
+
end
|
4916
|
+
|
4258
4917
|
# Represents the input of an `UpdatePipeline` action.
|
4259
4918
|
#
|
4260
4919
|
# @note When making an API call, you may pass UpdatePipelineInput
|