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.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.43.0
@@ -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.38.0'
51
+ GEM_VERSION = '1.43.0'
52
52
 
53
53
  end
@@ -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
@@ -1037,7 +1124,8 @@ module Aws::CodePipeline
1037
1124
  # resp.pipeline_execution.pipeline_name #=> String
1038
1125
  # resp.pipeline_execution.pipeline_version #=> Integer
1039
1126
  # resp.pipeline_execution.pipeline_execution_id #=> String
1040
- # resp.pipeline_execution.status #=> String, one of "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
1127
+ # resp.pipeline_execution.status #=> String, one of "Cancelled", "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
1128
+ # resp.pipeline_execution.status_summary #=> String
1041
1129
  # resp.pipeline_execution.artifact_revisions #=> Array
1042
1130
  # resp.pipeline_execution.artifact_revisions[0].name #=> String
1043
1131
  # resp.pipeline_execution.artifact_revisions[0].revision_id #=> String
@@ -1088,7 +1176,7 @@ module Aws::CodePipeline
1088
1176
  # resp.stage_states #=> Array
1089
1177
  # resp.stage_states[0].stage_name #=> String
1090
1178
  # resp.stage_states[0].inbound_execution.pipeline_execution_id #=> String
1091
- # resp.stage_states[0].inbound_execution.status #=> String, one of "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1179
+ # resp.stage_states[0].inbound_execution.status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1092
1180
  # resp.stage_states[0].inbound_transition_state.enabled #=> Boolean
1093
1181
  # resp.stage_states[0].inbound_transition_state.last_changed_by #=> String
1094
1182
  # resp.stage_states[0].inbound_transition_state.last_changed_at #=> Time
@@ -1112,7 +1200,7 @@ module Aws::CodePipeline
1112
1200
  # resp.stage_states[0].action_states[0].entity_url #=> String
1113
1201
  # resp.stage_states[0].action_states[0].revision_url #=> String
1114
1202
  # resp.stage_states[0].latest_execution.pipeline_execution_id #=> String
1115
- # resp.stage_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1203
+ # resp.stage_states[0].latest_execution.status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1116
1204
  # resp.created #=> Time
1117
1205
  # resp.updated #=> Time
1118
1206
  #
@@ -1298,6 +1386,9 @@ module Aws::CodePipeline
1298
1386
  # call, which can be used to return the next set of action types in the
1299
1387
  # list.
1300
1388
  #
1389
+ # @option params [String] :region_filter
1390
+ # The Region to filter on for the list of action types.
1391
+ #
1301
1392
  # @return [Types::ListActionTypesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1302
1393
  #
1303
1394
  # * {Types::ListActionTypesOutput#action_types #action_types} => Array<Types::ActionType>
@@ -1310,6 +1401,7 @@ module Aws::CodePipeline
1310
1401
  # resp = client.list_action_types({
1311
1402
  # action_owner_filter: "AWS", # accepts AWS, ThirdParty, Custom
1312
1403
  # next_token: "NextToken",
1404
+ # region_filter: "AWSRegionName",
1313
1405
  # })
1314
1406
  #
1315
1407
  # @example Response structure
@@ -1382,7 +1474,7 @@ module Aws::CodePipeline
1382
1474
  #
1383
1475
  # resp.pipeline_execution_summaries #=> Array
1384
1476
  # resp.pipeline_execution_summaries[0].pipeline_execution_id #=> String
1385
- # resp.pipeline_execution_summaries[0].status #=> String, one of "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
1477
+ # resp.pipeline_execution_summaries[0].status #=> String, one of "Cancelled", "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
1386
1478
  # resp.pipeline_execution_summaries[0].start_time #=> Time
1387
1479
  # resp.pipeline_execution_summaries[0].last_update_time #=> Time
1388
1480
  # resp.pipeline_execution_summaries[0].source_revisions #=> Array
@@ -1410,6 +1502,12 @@ module Aws::CodePipeline
1410
1502
  # An identifier that was returned from the previous list pipelines call.
1411
1503
  # It can be used to return the next set of pipelines in the list.
1412
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
+ #
1413
1511
  # @return [Types::ListPipelinesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1414
1512
  #
1415
1513
  # * {Types::ListPipelinesOutput#pipelines #pipelines} => Array<Types::PipelineSummary>
@@ -1421,6 +1519,7 @@ module Aws::CodePipeline
1421
1519
  #
1422
1520
  # resp = client.list_pipelines({
1423
1521
  # next_token: "NextToken",
1522
+ # max_results: 1,
1424
1523
  # })
1425
1524
  #
1426
1525
  # @example Response structure
@@ -2265,6 +2364,80 @@ module Aws::CodePipeline
2265
2364
  req.send_request(options)
2266
2365
  end
2267
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
+
2268
2441
  # Updates a specified pipeline with edits or changes to its structure.
2269
2442
  # Use a JSON file with the pipeline structure and `UpdatePipeline` to
2270
2443
  # provide the full structure of the pipeline. Updating the pipeline
@@ -2402,7 +2575,7 @@ module Aws::CodePipeline
2402
2575
  params: params,
2403
2576
  config: config)
2404
2577
  context[:gem_name] = 'aws-sdk-codepipeline'
2405
- context[:gem_version] = '1.38.0'
2578
+ context[:gem_version] = '1.43.0'
2406
2579
  Seahorse::Client::Request.new(handlers, context)
2407
2580
  end
2408
2581
 
@@ -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')
@@ -190,6 +214,7 @@ module Aws::CodePipeline
190
214
  PipelineExecutionNotFoundException = Shapes::StructureShape.new(name: 'PipelineExecutionNotFoundException')
191
215
  PipelineExecutionNotStoppableException = Shapes::StructureShape.new(name: 'PipelineExecutionNotStoppableException')
192
216
  PipelineExecutionStatus = Shapes::StringShape.new(name: 'PipelineExecutionStatus')
217
+ PipelineExecutionStatusSummary = Shapes::StringShape.new(name: 'PipelineExecutionStatusSummary')
193
218
  PipelineExecutionSummary = Shapes::StructureShape.new(name: 'PipelineExecutionSummary')
194
219
  PipelineExecutionSummaryList = Shapes::ListShape.new(name: 'PipelineExecutionSummaryList')
195
220
  PipelineList = Shapes::ListShape.new(name: 'PipelineList')
@@ -201,10 +226,14 @@ module Aws::CodePipeline
201
226
  PipelineSummary = Shapes::StructureShape.new(name: 'PipelineSummary')
202
227
  PipelineVersion = Shapes::IntegerShape.new(name: 'PipelineVersion')
203
228
  PipelineVersionNotFoundException = Shapes::StructureShape.new(name: 'PipelineVersionNotFoundException')
229
+ PolicyStatementsTemplate = Shapes::StringShape.new(name: 'PolicyStatementsTemplate')
204
230
  PollForJobsInput = Shapes::StructureShape.new(name: 'PollForJobsInput')
205
231
  PollForJobsOutput = Shapes::StructureShape.new(name: 'PollForJobsOutput')
206
232
  PollForThirdPartyJobsInput = Shapes::StructureShape.new(name: 'PollForThirdPartyJobsInput')
207
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')
208
237
  PutActionRevisionInput = Shapes::StructureShape.new(name: 'PutActionRevisionInput')
209
238
  PutActionRevisionOutput = Shapes::StructureShape.new(name: 'PutActionRevisionOutput')
210
239
  PutApprovalResultInput = Shapes::StructureShape.new(name: 'PutApprovalResultInput')
@@ -218,6 +247,7 @@ module Aws::CodePipeline
218
247
  QueryParamMap = Shapes::MapShape.new(name: 'QueryParamMap')
219
248
  RegisterWebhookWithThirdPartyInput = Shapes::StructureShape.new(name: 'RegisterWebhookWithThirdPartyInput')
220
249
  RegisterWebhookWithThirdPartyOutput = Shapes::StructureShape.new(name: 'RegisterWebhookWithThirdPartyOutput')
250
+ RequestFailedException = Shapes::StructureShape.new(name: 'RequestFailedException')
221
251
  ResolvedActionConfigurationMap = Shapes::MapShape.new(name: 'ResolvedActionConfigurationMap')
222
252
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
223
253
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -234,6 +264,7 @@ module Aws::CodePipeline
234
264
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
235
265
  S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
236
266
  SecretAccessKey = Shapes::StringShape.new(name: 'SecretAccessKey')
267
+ ServicePrincipal = Shapes::StringShape.new(name: 'ServicePrincipal')
237
268
  SessionToken = Shapes::StringShape.new(name: 'SessionToken')
238
269
  SourceRevision = Shapes::StructureShape.new(name: 'SourceRevision')
239
270
  SourceRevisionList = Shapes::ListShape.new(name: 'SourceRevisionList')
@@ -277,6 +308,7 @@ module Aws::CodePipeline
277
308
  TriggerType = Shapes::StringShape.new(name: 'TriggerType')
278
309
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
279
310
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
311
+ UpdateActionTypeInput = Shapes::StructureShape.new(name: 'UpdateActionTypeInput')
280
312
  UpdatePipelineInput = Shapes::StructureShape.new(name: 'UpdatePipelineInput')
281
313
  UpdatePipelineOutput = Shapes::StructureShape.new(name: 'UpdatePipelineOutput')
282
314
  Url = Shapes::StringShape.new(name: 'Url')
@@ -422,22 +454,71 @@ module Aws::CodePipeline
422
454
  ActionType.add_member(:output_artifact_details, Shapes::ShapeRef.new(shape: ArtifactDetails, required: true, location_name: "outputArtifactDetails"))
423
455
  ActionType.struct_class = Types::ActionType
424
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
+
425
479
  ActionTypeId.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, required: true, location_name: "category"))
426
480
  ActionTypeId.add_member(:owner, Shapes::ShapeRef.new(shape: ActionOwner, required: true, location_name: "owner"))
427
481
  ActionTypeId.add_member(:provider, Shapes::ShapeRef.new(shape: ActionProvider, required: true, location_name: "provider"))
428
482
  ActionTypeId.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
429
483
  ActionTypeId.struct_class = Types::ActionTypeId
430
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
+
431
491
  ActionTypeList.member = Shapes::ShapeRef.new(shape: ActionType)
432
492
 
433
493
  ActionTypeNotFoundException.struct_class = Types::ActionTypeNotFoundException
434
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
+
435
508
  ActionTypeSettings.add_member(:third_party_configuration_url, Shapes::ShapeRef.new(shape: Url, location_name: "thirdPartyConfigurationUrl"))
436
509
  ActionTypeSettings.add_member(:entity_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "entityUrlTemplate"))
437
510
  ActionTypeSettings.add_member(:execution_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "executionUrlTemplate"))
438
511
  ActionTypeSettings.add_member(:revision_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "revisionUrlTemplate"))
439
512
  ActionTypeSettings.struct_class = Types::ActionTypeSettings
440
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
+
441
522
  ApprovalAlreadyCompletedException.struct_class = Types::ApprovalAlreadyCompletedException
442
523
 
443
524
  ApprovalResult.add_member(:summary, Shapes::ShapeRef.new(shape: ApprovalSummary, required: true, location_name: "summary"))
@@ -570,11 +651,24 @@ module Aws::CodePipeline
570
651
  ExecutionTrigger.add_member(:trigger_detail, Shapes::ShapeRef.new(shape: TriggerDetail, location_name: "triggerDetail"))
571
652
  ExecutionTrigger.struct_class = Types::ExecutionTrigger
572
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
+
573
658
  FailureDetails.add_member(:type, Shapes::ShapeRef.new(shape: FailureType, required: true, location_name: "type"))
574
659
  FailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "message"))
575
660
  FailureDetails.add_member(:external_execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "externalExecutionId"))
576
661
  FailureDetails.struct_class = Types::FailureDetails
577
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
+
578
672
  GetJobDetailsInput.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "jobId"))
579
673
  GetJobDetailsInput.struct_class = Types::GetJobDetailsInput
580
674
 
@@ -673,6 +767,13 @@ module Aws::CodePipeline
673
767
 
674
768
  JobNotFoundException.struct_class = Types::JobNotFoundException
675
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
+
676
777
  LimitExceededException.struct_class = Types::LimitExceededException
677
778
 
678
779
  ListActionExecutionsInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
@@ -687,6 +788,7 @@ module Aws::CodePipeline
687
788
 
688
789
  ListActionTypesInput.add_member(:action_owner_filter, Shapes::ShapeRef.new(shape: ActionOwner, location_name: "actionOwnerFilter"))
689
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"))
690
792
  ListActionTypesInput.struct_class = Types::ListActionTypesInput
691
793
 
692
794
  ListActionTypesOutput.add_member(:action_types, Shapes::ShapeRef.new(shape: ActionTypeList, required: true, location_name: "actionTypes"))
@@ -703,6 +805,7 @@ module Aws::CodePipeline
703
805
  ListPipelineExecutionsOutput.struct_class = Types::ListPipelineExecutionsOutput
704
806
 
705
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"))
706
809
  ListPipelinesInput.struct_class = Types::ListPipelinesInput
707
810
 
708
811
  ListPipelinesOutput.add_member(:pipelines, Shapes::ShapeRef.new(shape: PipelineList, location_name: "pipelines"))
@@ -767,6 +870,7 @@ module Aws::CodePipeline
767
870
  PipelineExecution.add_member(:pipeline_version, Shapes::ShapeRef.new(shape: PipelineVersion, location_name: "pipelineVersion"))
768
871
  PipelineExecution.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
769
872
  PipelineExecution.add_member(:status, Shapes::ShapeRef.new(shape: PipelineExecutionStatus, location_name: "status"))
873
+ PipelineExecution.add_member(:status_summary, Shapes::ShapeRef.new(shape: PipelineExecutionStatusSummary, location_name: "statusSummary"))
770
874
  PipelineExecution.add_member(:artifact_revisions, Shapes::ShapeRef.new(shape: ArtifactRevisionList, location_name: "artifactRevisions"))
771
875
  PipelineExecution.struct_class = Types::PipelineExecution
772
876
 
@@ -822,6 +926,10 @@ module Aws::CodePipeline
822
926
  PollForThirdPartyJobsOutput.add_member(:jobs, Shapes::ShapeRef.new(shape: ThirdPartyJobList, location_name: "jobs"))
823
927
  PollForThirdPartyJobsOutput.struct_class = Types::PollForThirdPartyJobsOutput
824
928
 
929
+ PollingAccountList.member = Shapes::ShapeRef.new(shape: AccountId)
930
+
931
+ PollingServicePrincipalList.member = Shapes::ShapeRef.new(shape: ServicePrincipal)
932
+
825
933
  PutActionRevisionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
826
934
  PutActionRevisionInput.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, required: true, location_name: "stageName"))
827
935
  PutActionRevisionInput.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionName, required: true, location_name: "actionName"))
@@ -880,6 +988,9 @@ module Aws::CodePipeline
880
988
 
881
989
  RegisterWebhookWithThirdPartyOutput.struct_class = Types::RegisterWebhookWithThirdPartyOutput
882
990
 
991
+ RequestFailedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
992
+ RequestFailedException.struct_class = Types::RequestFailedException
993
+
883
994
  ResolvedActionConfigurationMap.key = Shapes::ShapeRef.new(shape: String)
884
995
  ResolvedActionConfigurationMap.value = Shapes::ShapeRef.new(shape: String)
885
996
 
@@ -1008,6 +1119,9 @@ module Aws::CodePipeline
1008
1119
 
1009
1120
  UntagResourceOutput.struct_class = Types::UntagResourceOutput
1010
1121
 
1122
+ UpdateActionTypeInput.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionTypeDeclaration, required: true, location_name: "actionType"))
1123
+ UpdateActionTypeInput.struct_class = Types::UpdateActionTypeInput
1124
+
1011
1125
  UpdatePipelineInput.add_member(:pipeline, Shapes::ShapeRef.new(shape: PipelineDeclaration, required: true, location_name: "pipeline"))
1012
1126
  UpdatePipelineInput.struct_class = Types::UpdatePipelineInput
1013
1127
 
@@ -1173,6 +1287,16 @@ module Aws::CodePipeline
1173
1287
  o.errors << Shapes::ShapeRef.new(shape: StageNotFoundException)
1174
1288
  end)
1175
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
+
1176
1300
  api.add_operation(:get_job_details, Seahorse::Model::Operation.new.tap do |o|
1177
1301
  o.name = "GetJobDetails"
1178
1302
  o.http_method = "POST"
@@ -1286,6 +1410,7 @@ module Aws::CodePipeline
1286
1410
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1287
1411
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1288
1412
  o[:pager] = Aws::Pager.new(
1413
+ limit_key: "max_results",
1289
1414
  tokens: {
1290
1415
  "next_token" => "next_token"
1291
1416
  }
@@ -1510,6 +1635,17 @@ module Aws::CodePipeline
1510
1635
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1511
1636
  end)
1512
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
+
1513
1649
  api.add_operation(:update_pipeline, Seahorse::Model::Operation.new.tap do |o|
1514
1650
  o.name = "UpdatePipeline"
1515
1651
  o.http_method = "POST"