aws-sdk-codepipeline 1.39.0 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +298 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-codepipeline.rb +2 -2
- data/lib/aws-sdk-codepipeline/client.rb +174 -2
- data/lib/aws-sdk-codepipeline/client_api.rb +135 -1
- data/lib/aws-sdk-codepipeline/errors.rb +28 -1
- data/lib/aws-sdk-codepipeline/resource.rb +1 -1
- data/lib/aws-sdk-codepipeline/types.rb +649 -4
- metadata +8 -5
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.44.0
|
data/lib/aws-sdk-codepipeline.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-codepipeline/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::CodePipeline
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.44.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -871,6 +871,93 @@ module Aws::CodePipeline
|
|
871
871
|
req.send_request(options)
|
872
872
|
end
|
873
873
|
|
874
|
+
# Returns information about an action type created for an external
|
875
|
+
# provider, where the action is to be used by customers of the external
|
876
|
+
# provider. The action can be created with any supported integration
|
877
|
+
# model.
|
878
|
+
#
|
879
|
+
# @option params [required, String] :category
|
880
|
+
# Defines what kind of action can be taken in the stage. The following
|
881
|
+
# are the valid values:
|
882
|
+
#
|
883
|
+
# * `Source`
|
884
|
+
#
|
885
|
+
# * `Build`
|
886
|
+
#
|
887
|
+
# * `Test`
|
888
|
+
#
|
889
|
+
# * `Deploy`
|
890
|
+
#
|
891
|
+
# * `Approval`
|
892
|
+
#
|
893
|
+
# * `Invoke`
|
894
|
+
#
|
895
|
+
# @option params [required, String] :owner
|
896
|
+
# The creator of an action type that was created with any supported
|
897
|
+
# integration model. There are two valid values: `AWS` and `ThirdParty`.
|
898
|
+
#
|
899
|
+
# @option params [required, String] :provider
|
900
|
+
# The provider of the action type being called. The provider name is
|
901
|
+
# specified when the action type is created.
|
902
|
+
#
|
903
|
+
# @option params [required, String] :version
|
904
|
+
# A string that describes the action type version.
|
905
|
+
#
|
906
|
+
# @return [Types::GetActionTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
907
|
+
#
|
908
|
+
# * {Types::GetActionTypeOutput#action_type #action_type} => Types::ActionTypeDeclaration
|
909
|
+
#
|
910
|
+
# @example Request syntax with placeholder values
|
911
|
+
#
|
912
|
+
# resp = client.get_action_type({
|
913
|
+
# category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
|
914
|
+
# owner: "ActionTypeOwner", # required
|
915
|
+
# provider: "ActionProvider", # required
|
916
|
+
# version: "Version", # required
|
917
|
+
# })
|
918
|
+
#
|
919
|
+
# @example Response structure
|
920
|
+
#
|
921
|
+
# resp.action_type.description #=> String
|
922
|
+
# resp.action_type.executor.configuration.lambda_executor_configuration.lambda_function_arn #=> String
|
923
|
+
# resp.action_type.executor.configuration.job_worker_executor_configuration.polling_accounts #=> Array
|
924
|
+
# resp.action_type.executor.configuration.job_worker_executor_configuration.polling_accounts[0] #=> String
|
925
|
+
# resp.action_type.executor.configuration.job_worker_executor_configuration.polling_service_principals #=> Array
|
926
|
+
# resp.action_type.executor.configuration.job_worker_executor_configuration.polling_service_principals[0] #=> String
|
927
|
+
# resp.action_type.executor.type #=> String, one of "JobWorker", "Lambda"
|
928
|
+
# resp.action_type.executor.policy_statements_template #=> String
|
929
|
+
# resp.action_type.executor.job_timeout #=> Integer
|
930
|
+
# resp.action_type.id.category #=> String, one of "Source", "Build", "Deploy", "Test", "Invoke", "Approval"
|
931
|
+
# resp.action_type.id.owner #=> String
|
932
|
+
# resp.action_type.id.provider #=> String
|
933
|
+
# resp.action_type.id.version #=> String
|
934
|
+
# resp.action_type.input_artifact_details.minimum_count #=> Integer
|
935
|
+
# resp.action_type.input_artifact_details.maximum_count #=> Integer
|
936
|
+
# resp.action_type.output_artifact_details.minimum_count #=> Integer
|
937
|
+
# resp.action_type.output_artifact_details.maximum_count #=> Integer
|
938
|
+
# resp.action_type.permissions.allowed_accounts #=> Array
|
939
|
+
# resp.action_type.permissions.allowed_accounts[0] #=> String
|
940
|
+
# resp.action_type.properties #=> Array
|
941
|
+
# resp.action_type.properties[0].name #=> String
|
942
|
+
# resp.action_type.properties[0].optional #=> Boolean
|
943
|
+
# resp.action_type.properties[0].key #=> Boolean
|
944
|
+
# resp.action_type.properties[0].no_echo #=> Boolean
|
945
|
+
# resp.action_type.properties[0].queryable #=> Boolean
|
946
|
+
# resp.action_type.properties[0].description #=> String
|
947
|
+
# resp.action_type.urls.configuration_url #=> String
|
948
|
+
# resp.action_type.urls.entity_url_template #=> String
|
949
|
+
# resp.action_type.urls.execution_url_template #=> String
|
950
|
+
# resp.action_type.urls.revision_url_template #=> String
|
951
|
+
#
|
952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetActionType AWS API Documentation
|
953
|
+
#
|
954
|
+
# @overload get_action_type(params = {})
|
955
|
+
# @param [Hash] params ({})
|
956
|
+
def get_action_type(params = {}, options = {})
|
957
|
+
req = build_request(:get_action_type, params)
|
958
|
+
req.send_request(options)
|
959
|
+
end
|
960
|
+
|
874
961
|
# Returns information about a job. Used for custom actions only.
|
875
962
|
#
|
876
963
|
# When this API is called, AWS CodePipeline returns temporary
|
@@ -1299,6 +1386,9 @@ module Aws::CodePipeline
|
|
1299
1386
|
# call, which can be used to return the next set of action types in the
|
1300
1387
|
# list.
|
1301
1388
|
#
|
1389
|
+
# @option params [String] :region_filter
|
1390
|
+
# The Region to filter on for the list of action types.
|
1391
|
+
#
|
1302
1392
|
# @return [Types::ListActionTypesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1303
1393
|
#
|
1304
1394
|
# * {Types::ListActionTypesOutput#action_types #action_types} => Array<Types::ActionType>
|
@@ -1311,6 +1401,7 @@ module Aws::CodePipeline
|
|
1311
1401
|
# resp = client.list_action_types({
|
1312
1402
|
# action_owner_filter: "AWS", # accepts AWS, ThirdParty, Custom
|
1313
1403
|
# next_token: "NextToken",
|
1404
|
+
# region_filter: "AWSRegionName",
|
1314
1405
|
# })
|
1315
1406
|
#
|
1316
1407
|
# @example Response structure
|
@@ -1411,6 +1502,12 @@ module Aws::CodePipeline
|
|
1411
1502
|
# An identifier that was returned from the previous list pipelines call.
|
1412
1503
|
# It can be used to return the next set of pipelines in the list.
|
1413
1504
|
#
|
1505
|
+
# @option params [Integer] :max_results
|
1506
|
+
# The maximum number of pipelines to return in a single call. To
|
1507
|
+
# retrieve the remaining pipelines, make another call with the returned
|
1508
|
+
# nextToken value. The minimum value you can specify is 1. The maximum
|
1509
|
+
# accepted value is 1000.
|
1510
|
+
#
|
1414
1511
|
# @return [Types::ListPipelinesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1415
1512
|
#
|
1416
1513
|
# * {Types::ListPipelinesOutput#pipelines #pipelines} => Array<Types::PipelineSummary>
|
@@ -1422,6 +1519,7 @@ module Aws::CodePipeline
|
|
1422
1519
|
#
|
1423
1520
|
# resp = client.list_pipelines({
|
1424
1521
|
# next_token: "NextToken",
|
1522
|
+
# max_results: 1,
|
1425
1523
|
# })
|
1426
1524
|
#
|
1427
1525
|
# @example Response structure
|
@@ -2266,6 +2364,80 @@ module Aws::CodePipeline
|
|
2266
2364
|
req.send_request(options)
|
2267
2365
|
end
|
2268
2366
|
|
2367
|
+
# Updates an action type that was created with any supported integration
|
2368
|
+
# model, where the action type is to be used by customers of the action
|
2369
|
+
# type provider. Use a JSON file with the action definition and
|
2370
|
+
# `UpdateActionType` to provide the full structure.
|
2371
|
+
#
|
2372
|
+
# @option params [required, Types::ActionTypeDeclaration] :action_type
|
2373
|
+
# The action type definition for the action type to be updated.
|
2374
|
+
#
|
2375
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2376
|
+
#
|
2377
|
+
# @example Request syntax with placeholder values
|
2378
|
+
#
|
2379
|
+
# resp = client.update_action_type({
|
2380
|
+
# action_type: { # required
|
2381
|
+
# description: "ActionTypeDescription",
|
2382
|
+
# executor: { # required
|
2383
|
+
# configuration: { # required
|
2384
|
+
# lambda_executor_configuration: {
|
2385
|
+
# lambda_function_arn: "LambdaFunctionArn", # required
|
2386
|
+
# },
|
2387
|
+
# job_worker_executor_configuration: {
|
2388
|
+
# polling_accounts: ["AccountId"],
|
2389
|
+
# polling_service_principals: ["ServicePrincipal"],
|
2390
|
+
# },
|
2391
|
+
# },
|
2392
|
+
# type: "JobWorker", # required, accepts JobWorker, Lambda
|
2393
|
+
# policy_statements_template: "PolicyStatementsTemplate",
|
2394
|
+
# job_timeout: 1,
|
2395
|
+
# },
|
2396
|
+
# id: { # required
|
2397
|
+
# category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
|
2398
|
+
# owner: "ActionTypeOwner", # required
|
2399
|
+
# provider: "ActionProvider", # required
|
2400
|
+
# version: "Version", # required
|
2401
|
+
# },
|
2402
|
+
# input_artifact_details: { # required
|
2403
|
+
# minimum_count: 1, # required
|
2404
|
+
# maximum_count: 1, # required
|
2405
|
+
# },
|
2406
|
+
# output_artifact_details: { # required
|
2407
|
+
# minimum_count: 1, # required
|
2408
|
+
# maximum_count: 1, # required
|
2409
|
+
# },
|
2410
|
+
# permissions: {
|
2411
|
+
# allowed_accounts: ["AllowedAccount"], # required
|
2412
|
+
# },
|
2413
|
+
# properties: [
|
2414
|
+
# {
|
2415
|
+
# name: "ActionConfigurationKey", # required
|
2416
|
+
# optional: false, # required
|
2417
|
+
# key: false, # required
|
2418
|
+
# no_echo: false, # required
|
2419
|
+
# queryable: false,
|
2420
|
+
# description: "PropertyDescription",
|
2421
|
+
# },
|
2422
|
+
# ],
|
2423
|
+
# urls: {
|
2424
|
+
# configuration_url: "Url",
|
2425
|
+
# entity_url_template: "UrlTemplate",
|
2426
|
+
# execution_url_template: "UrlTemplate",
|
2427
|
+
# revision_url_template: "UrlTemplate",
|
2428
|
+
# },
|
2429
|
+
# },
|
2430
|
+
# })
|
2431
|
+
#
|
2432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdateActionType AWS API Documentation
|
2433
|
+
#
|
2434
|
+
# @overload update_action_type(params = {})
|
2435
|
+
# @param [Hash] params ({})
|
2436
|
+
def update_action_type(params = {}, options = {})
|
2437
|
+
req = build_request(:update_action_type, params)
|
2438
|
+
req.send_request(options)
|
2439
|
+
end
|
2440
|
+
|
2269
2441
|
# Updates a specified pipeline with edits or changes to its structure.
|
2270
2442
|
# Use a JSON file with the pipeline structure and `UpdatePipeline` to
|
2271
2443
|
# provide the full structure of the pipeline. Updating the pipeline
|
@@ -2403,7 +2575,7 @@ module Aws::CodePipeline
|
|
2403
2575
|
params: params,
|
2404
2576
|
config: config)
|
2405
2577
|
context[:gem_name] = 'aws-sdk-codepipeline'
|
2406
|
-
context[:gem_version] = '1.
|
2578
|
+
context[:gem_version] = '1.44.0'
|
2407
2579
|
Seahorse::Client::Request.new(handlers, context)
|
2408
2580
|
end
|
2409
2581
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -52,10 +52,23 @@ module Aws::CodePipeline
|
|
52
52
|
ActionState = Shapes::StructureShape.new(name: 'ActionState')
|
53
53
|
ActionStateList = Shapes::ListShape.new(name: 'ActionStateList')
|
54
54
|
ActionType = Shapes::StructureShape.new(name: 'ActionType')
|
55
|
+
ActionTypeAlreadyExistsException = Shapes::StructureShape.new(name: 'ActionTypeAlreadyExistsException')
|
56
|
+
ActionTypeArtifactDetails = Shapes::StructureShape.new(name: 'ActionTypeArtifactDetails')
|
57
|
+
ActionTypeDeclaration = Shapes::StructureShape.new(name: 'ActionTypeDeclaration')
|
58
|
+
ActionTypeDescription = Shapes::StringShape.new(name: 'ActionTypeDescription')
|
59
|
+
ActionTypeExecutor = Shapes::StructureShape.new(name: 'ActionTypeExecutor')
|
55
60
|
ActionTypeId = Shapes::StructureShape.new(name: 'ActionTypeId')
|
61
|
+
ActionTypeIdentifier = Shapes::StructureShape.new(name: 'ActionTypeIdentifier')
|
56
62
|
ActionTypeList = Shapes::ListShape.new(name: 'ActionTypeList')
|
57
63
|
ActionTypeNotFoundException = Shapes::StructureShape.new(name: 'ActionTypeNotFoundException')
|
64
|
+
ActionTypeOwner = Shapes::StringShape.new(name: 'ActionTypeOwner')
|
65
|
+
ActionTypePermissions = Shapes::StructureShape.new(name: 'ActionTypePermissions')
|
66
|
+
ActionTypeProperties = Shapes::ListShape.new(name: 'ActionTypeProperties')
|
67
|
+
ActionTypeProperty = Shapes::StructureShape.new(name: 'ActionTypeProperty')
|
58
68
|
ActionTypeSettings = Shapes::StructureShape.new(name: 'ActionTypeSettings')
|
69
|
+
ActionTypeUrls = Shapes::StructureShape.new(name: 'ActionTypeUrls')
|
70
|
+
AllowedAccount = Shapes::StringShape.new(name: 'AllowedAccount')
|
71
|
+
AllowedAccounts = Shapes::ListShape.new(name: 'AllowedAccounts')
|
59
72
|
ApprovalAlreadyCompletedException = Shapes::StructureShape.new(name: 'ApprovalAlreadyCompletedException')
|
60
73
|
ApprovalResult = Shapes::StructureShape.new(name: 'ApprovalResult')
|
61
74
|
ApprovalStatus = Shapes::StringShape.new(name: 'ApprovalStatus')
|
@@ -111,10 +124,14 @@ module Aws::CodePipeline
|
|
111
124
|
ExecutionId = Shapes::StringShape.new(name: 'ExecutionId')
|
112
125
|
ExecutionSummary = Shapes::StringShape.new(name: 'ExecutionSummary')
|
113
126
|
ExecutionTrigger = Shapes::StructureShape.new(name: 'ExecutionTrigger')
|
127
|
+
ExecutorConfiguration = Shapes::StructureShape.new(name: 'ExecutorConfiguration')
|
128
|
+
ExecutorType = Shapes::StringShape.new(name: 'ExecutorType')
|
114
129
|
ExternalExecutionId = Shapes::StringShape.new(name: 'ExternalExecutionId')
|
115
130
|
ExternalExecutionSummary = Shapes::StringShape.new(name: 'ExternalExecutionSummary')
|
116
131
|
FailureDetails = Shapes::StructureShape.new(name: 'FailureDetails')
|
117
132
|
FailureType = Shapes::StringShape.new(name: 'FailureType')
|
133
|
+
GetActionTypeInput = Shapes::StructureShape.new(name: 'GetActionTypeInput')
|
134
|
+
GetActionTypeOutput = Shapes::StructureShape.new(name: 'GetActionTypeOutput')
|
118
135
|
GetJobDetailsInput = Shapes::StructureShape.new(name: 'GetJobDetailsInput')
|
119
136
|
GetJobDetailsOutput = Shapes::StructureShape.new(name: 'GetJobDetailsOutput')
|
120
137
|
GetPipelineExecutionInput = Shapes::StructureShape.new(name: 'GetPipelineExecutionInput')
|
@@ -148,7 +165,11 @@ module Aws::CodePipeline
|
|
148
165
|
JobList = Shapes::ListShape.new(name: 'JobList')
|
149
166
|
JobNotFoundException = Shapes::StructureShape.new(name: 'JobNotFoundException')
|
150
167
|
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
168
|
+
JobTimeout = Shapes::IntegerShape.new(name: 'JobTimeout')
|
169
|
+
JobWorkerExecutorConfiguration = Shapes::StructureShape.new(name: 'JobWorkerExecutorConfiguration')
|
151
170
|
JsonPath = Shapes::StringShape.new(name: 'JsonPath')
|
171
|
+
LambdaExecutorConfiguration = Shapes::StructureShape.new(name: 'LambdaExecutorConfiguration')
|
172
|
+
LambdaFunctionArn = Shapes::StringShape.new(name: 'LambdaFunctionArn')
|
152
173
|
LastChangedAt = Shapes::TimestampShape.new(name: 'LastChangedAt')
|
153
174
|
LastChangedBy = Shapes::StringShape.new(name: 'LastChangedBy')
|
154
175
|
LastUpdatedBy = Shapes::StringShape.new(name: 'LastUpdatedBy')
|
@@ -168,9 +189,12 @@ module Aws::CodePipeline
|
|
168
189
|
ListWebhooksOutput = Shapes::StructureShape.new(name: 'ListWebhooksOutput')
|
169
190
|
MatchEquals = Shapes::StringShape.new(name: 'MatchEquals')
|
170
191
|
MaxBatchSize = Shapes::IntegerShape.new(name: 'MaxBatchSize')
|
192
|
+
MaxPipelines = Shapes::IntegerShape.new(name: 'MaxPipelines')
|
171
193
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
194
|
+
MaximumActionTypeArtifactCount = Shapes::IntegerShape.new(name: 'MaximumActionTypeArtifactCount')
|
172
195
|
MaximumArtifactCount = Shapes::IntegerShape.new(name: 'MaximumArtifactCount')
|
173
196
|
Message = Shapes::StringShape.new(name: 'Message')
|
197
|
+
MinimumActionTypeArtifactCount = Shapes::IntegerShape.new(name: 'MinimumActionTypeArtifactCount')
|
174
198
|
MinimumArtifactCount = Shapes::IntegerShape.new(name: 'MinimumArtifactCount')
|
175
199
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
176
200
|
Nonce = Shapes::StringShape.new(name: 'Nonce')
|
@@ -202,10 +226,14 @@ module Aws::CodePipeline
|
|
202
226
|
PipelineSummary = Shapes::StructureShape.new(name: 'PipelineSummary')
|
203
227
|
PipelineVersion = Shapes::IntegerShape.new(name: 'PipelineVersion')
|
204
228
|
PipelineVersionNotFoundException = Shapes::StructureShape.new(name: 'PipelineVersionNotFoundException')
|
229
|
+
PolicyStatementsTemplate = Shapes::StringShape.new(name: 'PolicyStatementsTemplate')
|
205
230
|
PollForJobsInput = Shapes::StructureShape.new(name: 'PollForJobsInput')
|
206
231
|
PollForJobsOutput = Shapes::StructureShape.new(name: 'PollForJobsOutput')
|
207
232
|
PollForThirdPartyJobsInput = Shapes::StructureShape.new(name: 'PollForThirdPartyJobsInput')
|
208
233
|
PollForThirdPartyJobsOutput = Shapes::StructureShape.new(name: 'PollForThirdPartyJobsOutput')
|
234
|
+
PollingAccountList = Shapes::ListShape.new(name: 'PollingAccountList')
|
235
|
+
PollingServicePrincipalList = Shapes::ListShape.new(name: 'PollingServicePrincipalList')
|
236
|
+
PropertyDescription = Shapes::StringShape.new(name: 'PropertyDescription')
|
209
237
|
PutActionRevisionInput = Shapes::StructureShape.new(name: 'PutActionRevisionInput')
|
210
238
|
PutActionRevisionOutput = Shapes::StructureShape.new(name: 'PutActionRevisionOutput')
|
211
239
|
PutApprovalResultInput = Shapes::StructureShape.new(name: 'PutApprovalResultInput')
|
@@ -219,6 +247,7 @@ module Aws::CodePipeline
|
|
219
247
|
QueryParamMap = Shapes::MapShape.new(name: 'QueryParamMap')
|
220
248
|
RegisterWebhookWithThirdPartyInput = Shapes::StructureShape.new(name: 'RegisterWebhookWithThirdPartyInput')
|
221
249
|
RegisterWebhookWithThirdPartyOutput = Shapes::StructureShape.new(name: 'RegisterWebhookWithThirdPartyOutput')
|
250
|
+
RequestFailedException = Shapes::StructureShape.new(name: 'RequestFailedException')
|
222
251
|
ResolvedActionConfigurationMap = Shapes::MapShape.new(name: 'ResolvedActionConfigurationMap')
|
223
252
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
224
253
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -235,6 +264,7 @@ module Aws::CodePipeline
|
|
235
264
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
236
265
|
S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
|
237
266
|
SecretAccessKey = Shapes::StringShape.new(name: 'SecretAccessKey')
|
267
|
+
ServicePrincipal = Shapes::StringShape.new(name: 'ServicePrincipal')
|
238
268
|
SessionToken = Shapes::StringShape.new(name: 'SessionToken')
|
239
269
|
SourceRevision = Shapes::StructureShape.new(name: 'SourceRevision')
|
240
270
|
SourceRevisionList = Shapes::ListShape.new(name: 'SourceRevisionList')
|
@@ -278,6 +308,7 @@ module Aws::CodePipeline
|
|
278
308
|
TriggerType = Shapes::StringShape.new(name: 'TriggerType')
|
279
309
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
280
310
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
311
|
+
UpdateActionTypeInput = Shapes::StructureShape.new(name: 'UpdateActionTypeInput')
|
281
312
|
UpdatePipelineInput = Shapes::StructureShape.new(name: 'UpdatePipelineInput')
|
282
313
|
UpdatePipelineOutput = Shapes::StructureShape.new(name: 'UpdatePipelineOutput')
|
283
314
|
Url = Shapes::StringShape.new(name: 'Url')
|
@@ -423,22 +454,71 @@ module Aws::CodePipeline
|
|
423
454
|
ActionType.add_member(:output_artifact_details, Shapes::ShapeRef.new(shape: ArtifactDetails, required: true, location_name: "outputArtifactDetails"))
|
424
455
|
ActionType.struct_class = Types::ActionType
|
425
456
|
|
457
|
+
ActionTypeAlreadyExistsException.struct_class = Types::ActionTypeAlreadyExistsException
|
458
|
+
|
459
|
+
ActionTypeArtifactDetails.add_member(:minimum_count, Shapes::ShapeRef.new(shape: MinimumActionTypeArtifactCount, required: true, location_name: "minimumCount"))
|
460
|
+
ActionTypeArtifactDetails.add_member(:maximum_count, Shapes::ShapeRef.new(shape: MaximumActionTypeArtifactCount, required: true, location_name: "maximumCount"))
|
461
|
+
ActionTypeArtifactDetails.struct_class = Types::ActionTypeArtifactDetails
|
462
|
+
|
463
|
+
ActionTypeDeclaration.add_member(:description, Shapes::ShapeRef.new(shape: ActionTypeDescription, location_name: "description"))
|
464
|
+
ActionTypeDeclaration.add_member(:executor, Shapes::ShapeRef.new(shape: ActionTypeExecutor, required: true, location_name: "executor"))
|
465
|
+
ActionTypeDeclaration.add_member(:id, Shapes::ShapeRef.new(shape: ActionTypeIdentifier, required: true, location_name: "id"))
|
466
|
+
ActionTypeDeclaration.add_member(:input_artifact_details, Shapes::ShapeRef.new(shape: ActionTypeArtifactDetails, required: true, location_name: "inputArtifactDetails"))
|
467
|
+
ActionTypeDeclaration.add_member(:output_artifact_details, Shapes::ShapeRef.new(shape: ActionTypeArtifactDetails, required: true, location_name: "outputArtifactDetails"))
|
468
|
+
ActionTypeDeclaration.add_member(:permissions, Shapes::ShapeRef.new(shape: ActionTypePermissions, location_name: "permissions"))
|
469
|
+
ActionTypeDeclaration.add_member(:properties, Shapes::ShapeRef.new(shape: ActionTypeProperties, location_name: "properties"))
|
470
|
+
ActionTypeDeclaration.add_member(:urls, Shapes::ShapeRef.new(shape: ActionTypeUrls, location_name: "urls"))
|
471
|
+
ActionTypeDeclaration.struct_class = Types::ActionTypeDeclaration
|
472
|
+
|
473
|
+
ActionTypeExecutor.add_member(:configuration, Shapes::ShapeRef.new(shape: ExecutorConfiguration, required: true, location_name: "configuration"))
|
474
|
+
ActionTypeExecutor.add_member(:type, Shapes::ShapeRef.new(shape: ExecutorType, required: true, location_name: "type"))
|
475
|
+
ActionTypeExecutor.add_member(:policy_statements_template, Shapes::ShapeRef.new(shape: PolicyStatementsTemplate, location_name: "policyStatementsTemplate"))
|
476
|
+
ActionTypeExecutor.add_member(:job_timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "jobTimeout"))
|
477
|
+
ActionTypeExecutor.struct_class = Types::ActionTypeExecutor
|
478
|
+
|
426
479
|
ActionTypeId.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, required: true, location_name: "category"))
|
427
480
|
ActionTypeId.add_member(:owner, Shapes::ShapeRef.new(shape: ActionOwner, required: true, location_name: "owner"))
|
428
481
|
ActionTypeId.add_member(:provider, Shapes::ShapeRef.new(shape: ActionProvider, required: true, location_name: "provider"))
|
429
482
|
ActionTypeId.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
|
430
483
|
ActionTypeId.struct_class = Types::ActionTypeId
|
431
484
|
|
485
|
+
ActionTypeIdentifier.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, required: true, location_name: "category"))
|
486
|
+
ActionTypeIdentifier.add_member(:owner, Shapes::ShapeRef.new(shape: ActionTypeOwner, required: true, location_name: "owner"))
|
487
|
+
ActionTypeIdentifier.add_member(:provider, Shapes::ShapeRef.new(shape: ActionProvider, required: true, location_name: "provider"))
|
488
|
+
ActionTypeIdentifier.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
|
489
|
+
ActionTypeIdentifier.struct_class = Types::ActionTypeIdentifier
|
490
|
+
|
432
491
|
ActionTypeList.member = Shapes::ShapeRef.new(shape: ActionType)
|
433
492
|
|
434
493
|
ActionTypeNotFoundException.struct_class = Types::ActionTypeNotFoundException
|
435
494
|
|
495
|
+
ActionTypePermissions.add_member(:allowed_accounts, Shapes::ShapeRef.new(shape: AllowedAccounts, required: true, location_name: "allowedAccounts"))
|
496
|
+
ActionTypePermissions.struct_class = Types::ActionTypePermissions
|
497
|
+
|
498
|
+
ActionTypeProperties.member = Shapes::ShapeRef.new(shape: ActionTypeProperty)
|
499
|
+
|
500
|
+
ActionTypeProperty.add_member(:name, Shapes::ShapeRef.new(shape: ActionConfigurationKey, required: true, location_name: "name"))
|
501
|
+
ActionTypeProperty.add_member(:optional, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "optional"))
|
502
|
+
ActionTypeProperty.add_member(:key, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "key"))
|
503
|
+
ActionTypeProperty.add_member(:no_echo, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "noEcho"))
|
504
|
+
ActionTypeProperty.add_member(:queryable, Shapes::ShapeRef.new(shape: Boolean, location_name: "queryable"))
|
505
|
+
ActionTypeProperty.add_member(:description, Shapes::ShapeRef.new(shape: PropertyDescription, location_name: "description"))
|
506
|
+
ActionTypeProperty.struct_class = Types::ActionTypeProperty
|
507
|
+
|
436
508
|
ActionTypeSettings.add_member(:third_party_configuration_url, Shapes::ShapeRef.new(shape: Url, location_name: "thirdPartyConfigurationUrl"))
|
437
509
|
ActionTypeSettings.add_member(:entity_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "entityUrlTemplate"))
|
438
510
|
ActionTypeSettings.add_member(:execution_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "executionUrlTemplate"))
|
439
511
|
ActionTypeSettings.add_member(:revision_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "revisionUrlTemplate"))
|
440
512
|
ActionTypeSettings.struct_class = Types::ActionTypeSettings
|
441
513
|
|
514
|
+
ActionTypeUrls.add_member(:configuration_url, Shapes::ShapeRef.new(shape: Url, location_name: "configurationUrl"))
|
515
|
+
ActionTypeUrls.add_member(:entity_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "entityUrlTemplate"))
|
516
|
+
ActionTypeUrls.add_member(:execution_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "executionUrlTemplate"))
|
517
|
+
ActionTypeUrls.add_member(:revision_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "revisionUrlTemplate"))
|
518
|
+
ActionTypeUrls.struct_class = Types::ActionTypeUrls
|
519
|
+
|
520
|
+
AllowedAccounts.member = Shapes::ShapeRef.new(shape: AllowedAccount)
|
521
|
+
|
442
522
|
ApprovalAlreadyCompletedException.struct_class = Types::ApprovalAlreadyCompletedException
|
443
523
|
|
444
524
|
ApprovalResult.add_member(:summary, Shapes::ShapeRef.new(shape: ApprovalSummary, required: true, location_name: "summary"))
|
@@ -571,11 +651,24 @@ module Aws::CodePipeline
|
|
571
651
|
ExecutionTrigger.add_member(:trigger_detail, Shapes::ShapeRef.new(shape: TriggerDetail, location_name: "triggerDetail"))
|
572
652
|
ExecutionTrigger.struct_class = Types::ExecutionTrigger
|
573
653
|
|
654
|
+
ExecutorConfiguration.add_member(:lambda_executor_configuration, Shapes::ShapeRef.new(shape: LambdaExecutorConfiguration, location_name: "lambdaExecutorConfiguration"))
|
655
|
+
ExecutorConfiguration.add_member(:job_worker_executor_configuration, Shapes::ShapeRef.new(shape: JobWorkerExecutorConfiguration, location_name: "jobWorkerExecutorConfiguration"))
|
656
|
+
ExecutorConfiguration.struct_class = Types::ExecutorConfiguration
|
657
|
+
|
574
658
|
FailureDetails.add_member(:type, Shapes::ShapeRef.new(shape: FailureType, required: true, location_name: "type"))
|
575
659
|
FailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "message"))
|
576
660
|
FailureDetails.add_member(:external_execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "externalExecutionId"))
|
577
661
|
FailureDetails.struct_class = Types::FailureDetails
|
578
662
|
|
663
|
+
GetActionTypeInput.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, required: true, location_name: "category"))
|
664
|
+
GetActionTypeInput.add_member(:owner, Shapes::ShapeRef.new(shape: ActionTypeOwner, required: true, location_name: "owner"))
|
665
|
+
GetActionTypeInput.add_member(:provider, Shapes::ShapeRef.new(shape: ActionProvider, required: true, location_name: "provider"))
|
666
|
+
GetActionTypeInput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
|
667
|
+
GetActionTypeInput.struct_class = Types::GetActionTypeInput
|
668
|
+
|
669
|
+
GetActionTypeOutput.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionTypeDeclaration, location_name: "actionType"))
|
670
|
+
GetActionTypeOutput.struct_class = Types::GetActionTypeOutput
|
671
|
+
|
579
672
|
GetJobDetailsInput.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "jobId"))
|
580
673
|
GetJobDetailsInput.struct_class = Types::GetJobDetailsInput
|
581
674
|
|
@@ -674,6 +767,13 @@ module Aws::CodePipeline
|
|
674
767
|
|
675
768
|
JobNotFoundException.struct_class = Types::JobNotFoundException
|
676
769
|
|
770
|
+
JobWorkerExecutorConfiguration.add_member(:polling_accounts, Shapes::ShapeRef.new(shape: PollingAccountList, location_name: "pollingAccounts"))
|
771
|
+
JobWorkerExecutorConfiguration.add_member(:polling_service_principals, Shapes::ShapeRef.new(shape: PollingServicePrincipalList, location_name: "pollingServicePrincipals"))
|
772
|
+
JobWorkerExecutorConfiguration.struct_class = Types::JobWorkerExecutorConfiguration
|
773
|
+
|
774
|
+
LambdaExecutorConfiguration.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: LambdaFunctionArn, required: true, location_name: "lambdaFunctionArn"))
|
775
|
+
LambdaExecutorConfiguration.struct_class = Types::LambdaExecutorConfiguration
|
776
|
+
|
677
777
|
LimitExceededException.struct_class = Types::LimitExceededException
|
678
778
|
|
679
779
|
ListActionExecutionsInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
|
@@ -688,6 +788,7 @@ module Aws::CodePipeline
|
|
688
788
|
|
689
789
|
ListActionTypesInput.add_member(:action_owner_filter, Shapes::ShapeRef.new(shape: ActionOwner, location_name: "actionOwnerFilter"))
|
690
790
|
ListActionTypesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
791
|
+
ListActionTypesInput.add_member(:region_filter, Shapes::ShapeRef.new(shape: AWSRegionName, location_name: "regionFilter"))
|
691
792
|
ListActionTypesInput.struct_class = Types::ListActionTypesInput
|
692
793
|
|
693
794
|
ListActionTypesOutput.add_member(:action_types, Shapes::ShapeRef.new(shape: ActionTypeList, required: true, location_name: "actionTypes"))
|
@@ -704,6 +805,7 @@ module Aws::CodePipeline
|
|
704
805
|
ListPipelineExecutionsOutput.struct_class = Types::ListPipelineExecutionsOutput
|
705
806
|
|
706
807
|
ListPipelinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
808
|
+
ListPipelinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxPipelines, location_name: "maxResults"))
|
707
809
|
ListPipelinesInput.struct_class = Types::ListPipelinesInput
|
708
810
|
|
709
811
|
ListPipelinesOutput.add_member(:pipelines, Shapes::ShapeRef.new(shape: PipelineList, location_name: "pipelines"))
|
@@ -824,6 +926,10 @@ module Aws::CodePipeline
|
|
824
926
|
PollForThirdPartyJobsOutput.add_member(:jobs, Shapes::ShapeRef.new(shape: ThirdPartyJobList, location_name: "jobs"))
|
825
927
|
PollForThirdPartyJobsOutput.struct_class = Types::PollForThirdPartyJobsOutput
|
826
928
|
|
929
|
+
PollingAccountList.member = Shapes::ShapeRef.new(shape: AccountId)
|
930
|
+
|
931
|
+
PollingServicePrincipalList.member = Shapes::ShapeRef.new(shape: ServicePrincipal)
|
932
|
+
|
827
933
|
PutActionRevisionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
|
828
934
|
PutActionRevisionInput.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, required: true, location_name: "stageName"))
|
829
935
|
PutActionRevisionInput.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionName, required: true, location_name: "actionName"))
|
@@ -882,6 +988,9 @@ module Aws::CodePipeline
|
|
882
988
|
|
883
989
|
RegisterWebhookWithThirdPartyOutput.struct_class = Types::RegisterWebhookWithThirdPartyOutput
|
884
990
|
|
991
|
+
RequestFailedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
992
|
+
RequestFailedException.struct_class = Types::RequestFailedException
|
993
|
+
|
885
994
|
ResolvedActionConfigurationMap.key = Shapes::ShapeRef.new(shape: String)
|
886
995
|
ResolvedActionConfigurationMap.value = Shapes::ShapeRef.new(shape: String)
|
887
996
|
|
@@ -1010,6 +1119,9 @@ module Aws::CodePipeline
|
|
1010
1119
|
|
1011
1120
|
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
1012
1121
|
|
1122
|
+
UpdateActionTypeInput.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionTypeDeclaration, required: true, location_name: "actionType"))
|
1123
|
+
UpdateActionTypeInput.struct_class = Types::UpdateActionTypeInput
|
1124
|
+
|
1013
1125
|
UpdatePipelineInput.add_member(:pipeline, Shapes::ShapeRef.new(shape: PipelineDeclaration, required: true, location_name: "pipeline"))
|
1014
1126
|
UpdatePipelineInput.struct_class = Types::UpdatePipelineInput
|
1015
1127
|
|
@@ -1175,6 +1287,16 @@ module Aws::CodePipeline
|
|
1175
1287
|
o.errors << Shapes::ShapeRef.new(shape: StageNotFoundException)
|
1176
1288
|
end)
|
1177
1289
|
|
1290
|
+
api.add_operation(:get_action_type, Seahorse::Model::Operation.new.tap do |o|
|
1291
|
+
o.name = "GetActionType"
|
1292
|
+
o.http_method = "POST"
|
1293
|
+
o.http_request_uri = "/"
|
1294
|
+
o.input = Shapes::ShapeRef.new(shape: GetActionTypeInput)
|
1295
|
+
o.output = Shapes::ShapeRef.new(shape: GetActionTypeOutput)
|
1296
|
+
o.errors << Shapes::ShapeRef.new(shape: ActionTypeNotFoundException)
|
1297
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1298
|
+
end)
|
1299
|
+
|
1178
1300
|
api.add_operation(:get_job_details, Seahorse::Model::Operation.new.tap do |o|
|
1179
1301
|
o.name = "GetJobDetails"
|
1180
1302
|
o.http_method = "POST"
|
@@ -1288,6 +1410,7 @@ module Aws::CodePipeline
|
|
1288
1410
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1289
1411
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1290
1412
|
o[:pager] = Aws::Pager.new(
|
1413
|
+
limit_key: "max_results",
|
1291
1414
|
tokens: {
|
1292
1415
|
"next_token" => "next_token"
|
1293
1416
|
}
|
@@ -1512,6 +1635,17 @@ module Aws::CodePipeline
|
|
1512
1635
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1513
1636
|
end)
|
1514
1637
|
|
1638
|
+
api.add_operation(:update_action_type, Seahorse::Model::Operation.new.tap do |o|
|
1639
|
+
o.name = "UpdateActionType"
|
1640
|
+
o.http_method = "POST"
|
1641
|
+
o.http_request_uri = "/"
|
1642
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateActionTypeInput)
|
1643
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1644
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
|
1645
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1646
|
+
o.errors << Shapes::ShapeRef.new(shape: ActionTypeNotFoundException)
|
1647
|
+
end)
|
1648
|
+
|
1515
1649
|
api.add_operation(:update_pipeline, Seahorse::Model::Operation.new.tap do |o|
|
1516
1650
|
o.name = "UpdatePipeline"
|
1517
1651
|
o.http_method = "POST"
|