aws-sdk-codepipeline 1.40.0 → 1.41.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df7b2143b91ca24795618885491cec9c8041af4e85a4024c7b737da44a334293
4
- data.tar.gz: 3ea660115d2d7faee1352aec8a6eb47f3411f686619169155f1f24ff351d28e5
3
+ metadata.gz: f8719ecc224a4f703542fc59bc871137ad3939b1f80eb0d6c1fa6a7627bca5db
4
+ data.tar.gz: 1adf806b54507be59362df0b4ac6fee1470e09485b9367de11611adf208b30ea
5
5
  SHA512:
6
- metadata.gz: 1725929dc9f14483aa03061687d98715298c87ec9aff01023f7cfaf05641b1508d7b50328438de81cc40fc58ab297e62c5fad7d10b9dfd1f91e2aa925bb5703f
7
- data.tar.gz: beb9f099a462cb3f897d18ffd3b10b4910055da8bf408a6669fe6ce7c179a1f898901c96f7cc75d2a6a8e2b5607d257434f7c3150f31834515171c57386c467a
6
+ metadata.gz: 7449a5d2eb3e2ccb78501b971da551d10e206dae44cf2af614d07bdefbc85a9be171dacd58fa59653c67c64d4bce2cc8ed292819e4a5222e4dc6e3ba2dd5474e
7
+ data.tar.gz: a3d25d61192c4b871d51933b9b0f66898f625574562460944847a1928a56d5fba96f9a4324ae8ba3d9878bad2153755799a2cd789a0282a7e51925368f205942
@@ -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.40.0'
51
+ GEM_VERSION = '1.41.0'
52
52
 
53
53
  end
@@ -871,6 +871,94 @@ 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 have been created with any supported
877
+ # integration model.
878
+ #
879
+ # @option params [required, String] :category
880
+ # A category defines what kind of action can be taken in the stage.
881
+ # Valid categories are limited to one of the following 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 has been created with any supported
897
+ # integration model. There are two valid values for the `owner` field in
898
+ # the action type category: `AWS` and `ThirdParty`.
899
+ #
900
+ # @option params [required, String] :provider
901
+ # The provider of the action type being called. The provider name is
902
+ # specified when the action type is created.
903
+ #
904
+ # @option params [required, String] :version
905
+ # A string that describes the action type version.
906
+ #
907
+ # @return [Types::GetActionTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
908
+ #
909
+ # * {Types::GetActionTypeOutput#action_type #action_type} => Types::ActionTypeDeclaration
910
+ #
911
+ # @example Request syntax with placeholder values
912
+ #
913
+ # resp = client.get_action_type({
914
+ # category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
915
+ # owner: "ActionTypeOwner", # required
916
+ # provider: "ActionProvider", # required
917
+ # version: "Version", # required
918
+ # })
919
+ #
920
+ # @example Response structure
921
+ #
922
+ # resp.action_type.description #=> String
923
+ # resp.action_type.executor.configuration.lambda_executor_configuration.lambda_function_arn #=> String
924
+ # resp.action_type.executor.configuration.job_worker_executor_configuration.polling_accounts #=> Array
925
+ # resp.action_type.executor.configuration.job_worker_executor_configuration.polling_accounts[0] #=> String
926
+ # resp.action_type.executor.configuration.job_worker_executor_configuration.polling_service_principals #=> Array
927
+ # resp.action_type.executor.configuration.job_worker_executor_configuration.polling_service_principals[0] #=> String
928
+ # resp.action_type.executor.type #=> String, one of "JobWorker", "Lambda"
929
+ # resp.action_type.executor.policy_statements_template #=> String
930
+ # resp.action_type.executor.job_timeout #=> Integer
931
+ # resp.action_type.id.category #=> String, one of "Source", "Build", "Deploy", "Test", "Invoke", "Approval"
932
+ # resp.action_type.id.owner #=> String
933
+ # resp.action_type.id.provider #=> String
934
+ # resp.action_type.id.version #=> String
935
+ # resp.action_type.input_artifact_details.minimum_count #=> Integer
936
+ # resp.action_type.input_artifact_details.maximum_count #=> Integer
937
+ # resp.action_type.output_artifact_details.minimum_count #=> Integer
938
+ # resp.action_type.output_artifact_details.maximum_count #=> Integer
939
+ # resp.action_type.permissions.allowed_accounts #=> Array
940
+ # resp.action_type.permissions.allowed_accounts[0] #=> String
941
+ # resp.action_type.properties #=> Array
942
+ # resp.action_type.properties[0].name #=> String
943
+ # resp.action_type.properties[0].optional #=> Boolean
944
+ # resp.action_type.properties[0].key #=> Boolean
945
+ # resp.action_type.properties[0].no_echo #=> Boolean
946
+ # resp.action_type.properties[0].queryable #=> Boolean
947
+ # resp.action_type.properties[0].description #=> String
948
+ # resp.action_type.urls.configuration_url #=> String
949
+ # resp.action_type.urls.entity_url_template #=> String
950
+ # resp.action_type.urls.execution_url_template #=> String
951
+ # resp.action_type.urls.revision_url_template #=> String
952
+ #
953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetActionType AWS API Documentation
954
+ #
955
+ # @overload get_action_type(params = {})
956
+ # @param [Hash] params ({})
957
+ def get_action_type(params = {}, options = {})
958
+ req = build_request(:get_action_type, params)
959
+ req.send_request(options)
960
+ end
961
+
874
962
  # Returns information about a job. Used for custom actions only.
875
963
  #
876
964
  # When this API is called, AWS CodePipeline returns temporary
@@ -1299,6 +1387,9 @@ module Aws::CodePipeline
1299
1387
  # call, which can be used to return the next set of action types in the
1300
1388
  # list.
1301
1389
  #
1390
+ # @option params [String] :region_filter
1391
+ # The Region to filter on for the list of action types.
1392
+ #
1302
1393
  # @return [Types::ListActionTypesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1303
1394
  #
1304
1395
  # * {Types::ListActionTypesOutput#action_types #action_types} => Array<Types::ActionType>
@@ -1311,6 +1402,7 @@ module Aws::CodePipeline
1311
1402
  # resp = client.list_action_types({
1312
1403
  # action_owner_filter: "AWS", # accepts AWS, ThirdParty, Custom
1313
1404
  # next_token: "NextToken",
1405
+ # region_filter: "AWSRegionName",
1314
1406
  # })
1315
1407
  #
1316
1408
  # @example Response structure
@@ -2266,6 +2358,80 @@ module Aws::CodePipeline
2266
2358
  req.send_request(options)
2267
2359
  end
2268
2360
 
2361
+ # Updates an action type that has been created with any supported
2362
+ # integration model, where the action type is to be used by customers of
2363
+ # the action type provider. Use a JSON file with the action definition
2364
+ # and `UpdateActionType` to provide the full structure.
2365
+ #
2366
+ # @option params [Types::ActionTypeDeclaration] :action_type
2367
+ # The action type definition for the action type to be updated.
2368
+ #
2369
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2370
+ #
2371
+ # @example Request syntax with placeholder values
2372
+ #
2373
+ # resp = client.update_action_type({
2374
+ # action_type: {
2375
+ # description: "ActionTypeDescription",
2376
+ # executor: { # required
2377
+ # configuration: { # required
2378
+ # lambda_executor_configuration: {
2379
+ # lambda_function_arn: "LambdaFunctionArn", # required
2380
+ # },
2381
+ # job_worker_executor_configuration: {
2382
+ # polling_accounts: ["AccountId"],
2383
+ # polling_service_principals: ["ServicePrincipal"],
2384
+ # },
2385
+ # },
2386
+ # type: "JobWorker", # required, accepts JobWorker, Lambda
2387
+ # policy_statements_template: "PolicyStatementsTemplate",
2388
+ # job_timeout: 1,
2389
+ # },
2390
+ # id: { # required
2391
+ # category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
2392
+ # owner: "ActionTypeOwner", # required
2393
+ # provider: "ActionProvider", # required
2394
+ # version: "Version", # required
2395
+ # },
2396
+ # input_artifact_details: { # required
2397
+ # minimum_count: 1, # required
2398
+ # maximum_count: 1, # required
2399
+ # },
2400
+ # output_artifact_details: { # required
2401
+ # minimum_count: 1, # required
2402
+ # maximum_count: 1, # required
2403
+ # },
2404
+ # permissions: {
2405
+ # allowed_accounts: ["AllowedAccount"], # required
2406
+ # },
2407
+ # properties: [
2408
+ # {
2409
+ # name: "ActionConfigurationKey", # required
2410
+ # optional: false, # required
2411
+ # key: false, # required
2412
+ # no_echo: false, # required
2413
+ # queryable: false,
2414
+ # description: "PropertyDescription",
2415
+ # },
2416
+ # ],
2417
+ # urls: {
2418
+ # configuration_url: "Url",
2419
+ # entity_url_template: "UrlTemplate",
2420
+ # execution_url_template: "UrlTemplate",
2421
+ # revision_url_template: "UrlTemplate",
2422
+ # },
2423
+ # },
2424
+ # })
2425
+ #
2426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdateActionType AWS API Documentation
2427
+ #
2428
+ # @overload update_action_type(params = {})
2429
+ # @param [Hash] params ({})
2430
+ def update_action_type(params = {}, options = {})
2431
+ req = build_request(:update_action_type, params)
2432
+ req.send_request(options)
2433
+ end
2434
+
2269
2435
  # Updates a specified pipeline with edits or changes to its structure.
2270
2436
  # Use a JSON file with the pipeline structure and `UpdatePipeline` to
2271
2437
  # provide the full structure of the pipeline. Updating the pipeline
@@ -2403,7 +2569,7 @@ module Aws::CodePipeline
2403
2569
  params: params,
2404
2570
  config: config)
2405
2571
  context[:gem_name] = 'aws-sdk-codepipeline'
2406
- context[:gem_version] = '1.40.0'
2572
+ context[:gem_version] = '1.41.0'
2407
2573
  Seahorse::Client::Request.new(handlers, context)
2408
2574
  end
2409
2575
 
@@ -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')
@@ -169,8 +190,10 @@ module Aws::CodePipeline
169
190
  MatchEquals = Shapes::StringShape.new(name: 'MatchEquals')
170
191
  MaxBatchSize = Shapes::IntegerShape.new(name: 'MaxBatchSize')
171
192
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
193
+ MaximumActionTypeArtifactCount = Shapes::IntegerShape.new(name: 'MaximumActionTypeArtifactCount')
172
194
  MaximumArtifactCount = Shapes::IntegerShape.new(name: 'MaximumArtifactCount')
173
195
  Message = Shapes::StringShape.new(name: 'Message')
196
+ MinimumActionTypeArtifactCount = Shapes::IntegerShape.new(name: 'MinimumActionTypeArtifactCount')
174
197
  MinimumArtifactCount = Shapes::IntegerShape.new(name: 'MinimumArtifactCount')
175
198
  NextToken = Shapes::StringShape.new(name: 'NextToken')
176
199
  Nonce = Shapes::StringShape.new(name: 'Nonce')
@@ -202,10 +225,14 @@ module Aws::CodePipeline
202
225
  PipelineSummary = Shapes::StructureShape.new(name: 'PipelineSummary')
203
226
  PipelineVersion = Shapes::IntegerShape.new(name: 'PipelineVersion')
204
227
  PipelineVersionNotFoundException = Shapes::StructureShape.new(name: 'PipelineVersionNotFoundException')
228
+ PolicyStatementsTemplate = Shapes::StringShape.new(name: 'PolicyStatementsTemplate')
205
229
  PollForJobsInput = Shapes::StructureShape.new(name: 'PollForJobsInput')
206
230
  PollForJobsOutput = Shapes::StructureShape.new(name: 'PollForJobsOutput')
207
231
  PollForThirdPartyJobsInput = Shapes::StructureShape.new(name: 'PollForThirdPartyJobsInput')
208
232
  PollForThirdPartyJobsOutput = Shapes::StructureShape.new(name: 'PollForThirdPartyJobsOutput')
233
+ PollingAccountList = Shapes::ListShape.new(name: 'PollingAccountList')
234
+ PollingServicePrincipalList = Shapes::ListShape.new(name: 'PollingServicePrincipalList')
235
+ PropertyDescription = Shapes::StringShape.new(name: 'PropertyDescription')
209
236
  PutActionRevisionInput = Shapes::StructureShape.new(name: 'PutActionRevisionInput')
210
237
  PutActionRevisionOutput = Shapes::StructureShape.new(name: 'PutActionRevisionOutput')
211
238
  PutApprovalResultInput = Shapes::StructureShape.new(name: 'PutApprovalResultInput')
@@ -219,6 +246,7 @@ module Aws::CodePipeline
219
246
  QueryParamMap = Shapes::MapShape.new(name: 'QueryParamMap')
220
247
  RegisterWebhookWithThirdPartyInput = Shapes::StructureShape.new(name: 'RegisterWebhookWithThirdPartyInput')
221
248
  RegisterWebhookWithThirdPartyOutput = Shapes::StructureShape.new(name: 'RegisterWebhookWithThirdPartyOutput')
249
+ RequestFailedException = Shapes::StructureShape.new(name: 'RequestFailedException')
222
250
  ResolvedActionConfigurationMap = Shapes::MapShape.new(name: 'ResolvedActionConfigurationMap')
223
251
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
224
252
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -235,6 +263,7 @@ module Aws::CodePipeline
235
263
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
236
264
  S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
237
265
  SecretAccessKey = Shapes::StringShape.new(name: 'SecretAccessKey')
266
+ ServicePrincipal = Shapes::StringShape.new(name: 'ServicePrincipal')
238
267
  SessionToken = Shapes::StringShape.new(name: 'SessionToken')
239
268
  SourceRevision = Shapes::StructureShape.new(name: 'SourceRevision')
240
269
  SourceRevisionList = Shapes::ListShape.new(name: 'SourceRevisionList')
@@ -278,6 +307,7 @@ module Aws::CodePipeline
278
307
  TriggerType = Shapes::StringShape.new(name: 'TriggerType')
279
308
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
280
309
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
310
+ UpdateActionTypeInput = Shapes::StructureShape.new(name: 'UpdateActionTypeInput')
281
311
  UpdatePipelineInput = Shapes::StructureShape.new(name: 'UpdatePipelineInput')
282
312
  UpdatePipelineOutput = Shapes::StructureShape.new(name: 'UpdatePipelineOutput')
283
313
  Url = Shapes::StringShape.new(name: 'Url')
@@ -423,22 +453,71 @@ module Aws::CodePipeline
423
453
  ActionType.add_member(:output_artifact_details, Shapes::ShapeRef.new(shape: ArtifactDetails, required: true, location_name: "outputArtifactDetails"))
424
454
  ActionType.struct_class = Types::ActionType
425
455
 
456
+ ActionTypeAlreadyExistsException.struct_class = Types::ActionTypeAlreadyExistsException
457
+
458
+ ActionTypeArtifactDetails.add_member(:minimum_count, Shapes::ShapeRef.new(shape: MinimumActionTypeArtifactCount, required: true, location_name: "minimumCount"))
459
+ ActionTypeArtifactDetails.add_member(:maximum_count, Shapes::ShapeRef.new(shape: MaximumActionTypeArtifactCount, required: true, location_name: "maximumCount"))
460
+ ActionTypeArtifactDetails.struct_class = Types::ActionTypeArtifactDetails
461
+
462
+ ActionTypeDeclaration.add_member(:description, Shapes::ShapeRef.new(shape: ActionTypeDescription, location_name: "description"))
463
+ ActionTypeDeclaration.add_member(:executor, Shapes::ShapeRef.new(shape: ActionTypeExecutor, required: true, location_name: "executor"))
464
+ ActionTypeDeclaration.add_member(:id, Shapes::ShapeRef.new(shape: ActionTypeIdentifier, required: true, location_name: "id"))
465
+ ActionTypeDeclaration.add_member(:input_artifact_details, Shapes::ShapeRef.new(shape: ActionTypeArtifactDetails, required: true, location_name: "inputArtifactDetails"))
466
+ ActionTypeDeclaration.add_member(:output_artifact_details, Shapes::ShapeRef.new(shape: ActionTypeArtifactDetails, required: true, location_name: "outputArtifactDetails"))
467
+ ActionTypeDeclaration.add_member(:permissions, Shapes::ShapeRef.new(shape: ActionTypePermissions, location_name: "permissions"))
468
+ ActionTypeDeclaration.add_member(:properties, Shapes::ShapeRef.new(shape: ActionTypeProperties, location_name: "properties"))
469
+ ActionTypeDeclaration.add_member(:urls, Shapes::ShapeRef.new(shape: ActionTypeUrls, location_name: "urls"))
470
+ ActionTypeDeclaration.struct_class = Types::ActionTypeDeclaration
471
+
472
+ ActionTypeExecutor.add_member(:configuration, Shapes::ShapeRef.new(shape: ExecutorConfiguration, required: true, location_name: "configuration"))
473
+ ActionTypeExecutor.add_member(:type, Shapes::ShapeRef.new(shape: ExecutorType, required: true, location_name: "type"))
474
+ ActionTypeExecutor.add_member(:policy_statements_template, Shapes::ShapeRef.new(shape: PolicyStatementsTemplate, location_name: "policyStatementsTemplate"))
475
+ ActionTypeExecutor.add_member(:job_timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "jobTimeout"))
476
+ ActionTypeExecutor.struct_class = Types::ActionTypeExecutor
477
+
426
478
  ActionTypeId.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, required: true, location_name: "category"))
427
479
  ActionTypeId.add_member(:owner, Shapes::ShapeRef.new(shape: ActionOwner, required: true, location_name: "owner"))
428
480
  ActionTypeId.add_member(:provider, Shapes::ShapeRef.new(shape: ActionProvider, required: true, location_name: "provider"))
429
481
  ActionTypeId.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
430
482
  ActionTypeId.struct_class = Types::ActionTypeId
431
483
 
484
+ ActionTypeIdentifier.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, required: true, location_name: "category"))
485
+ ActionTypeIdentifier.add_member(:owner, Shapes::ShapeRef.new(shape: ActionTypeOwner, required: true, location_name: "owner"))
486
+ ActionTypeIdentifier.add_member(:provider, Shapes::ShapeRef.new(shape: ActionProvider, required: true, location_name: "provider"))
487
+ ActionTypeIdentifier.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
488
+ ActionTypeIdentifier.struct_class = Types::ActionTypeIdentifier
489
+
432
490
  ActionTypeList.member = Shapes::ShapeRef.new(shape: ActionType)
433
491
 
434
492
  ActionTypeNotFoundException.struct_class = Types::ActionTypeNotFoundException
435
493
 
494
+ ActionTypePermissions.add_member(:allowed_accounts, Shapes::ShapeRef.new(shape: AllowedAccounts, required: true, location_name: "allowedAccounts"))
495
+ ActionTypePermissions.struct_class = Types::ActionTypePermissions
496
+
497
+ ActionTypeProperties.member = Shapes::ShapeRef.new(shape: ActionTypeProperty)
498
+
499
+ ActionTypeProperty.add_member(:name, Shapes::ShapeRef.new(shape: ActionConfigurationKey, required: true, location_name: "name"))
500
+ ActionTypeProperty.add_member(:optional, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "optional"))
501
+ ActionTypeProperty.add_member(:key, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "key"))
502
+ ActionTypeProperty.add_member(:no_echo, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "noEcho"))
503
+ ActionTypeProperty.add_member(:queryable, Shapes::ShapeRef.new(shape: Boolean, location_name: "queryable"))
504
+ ActionTypeProperty.add_member(:description, Shapes::ShapeRef.new(shape: PropertyDescription, location_name: "description"))
505
+ ActionTypeProperty.struct_class = Types::ActionTypeProperty
506
+
436
507
  ActionTypeSettings.add_member(:third_party_configuration_url, Shapes::ShapeRef.new(shape: Url, location_name: "thirdPartyConfigurationUrl"))
437
508
  ActionTypeSettings.add_member(:entity_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "entityUrlTemplate"))
438
509
  ActionTypeSettings.add_member(:execution_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "executionUrlTemplate"))
439
510
  ActionTypeSettings.add_member(:revision_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "revisionUrlTemplate"))
440
511
  ActionTypeSettings.struct_class = Types::ActionTypeSettings
441
512
 
513
+ ActionTypeUrls.add_member(:configuration_url, Shapes::ShapeRef.new(shape: Url, location_name: "configurationUrl"))
514
+ ActionTypeUrls.add_member(:entity_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "entityUrlTemplate"))
515
+ ActionTypeUrls.add_member(:execution_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "executionUrlTemplate"))
516
+ ActionTypeUrls.add_member(:revision_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "revisionUrlTemplate"))
517
+ ActionTypeUrls.struct_class = Types::ActionTypeUrls
518
+
519
+ AllowedAccounts.member = Shapes::ShapeRef.new(shape: AllowedAccount)
520
+
442
521
  ApprovalAlreadyCompletedException.struct_class = Types::ApprovalAlreadyCompletedException
443
522
 
444
523
  ApprovalResult.add_member(:summary, Shapes::ShapeRef.new(shape: ApprovalSummary, required: true, location_name: "summary"))
@@ -571,11 +650,24 @@ module Aws::CodePipeline
571
650
  ExecutionTrigger.add_member(:trigger_detail, Shapes::ShapeRef.new(shape: TriggerDetail, location_name: "triggerDetail"))
572
651
  ExecutionTrigger.struct_class = Types::ExecutionTrigger
573
652
 
653
+ ExecutorConfiguration.add_member(:lambda_executor_configuration, Shapes::ShapeRef.new(shape: LambdaExecutorConfiguration, location_name: "lambdaExecutorConfiguration"))
654
+ ExecutorConfiguration.add_member(:job_worker_executor_configuration, Shapes::ShapeRef.new(shape: JobWorkerExecutorConfiguration, location_name: "jobWorkerExecutorConfiguration"))
655
+ ExecutorConfiguration.struct_class = Types::ExecutorConfiguration
656
+
574
657
  FailureDetails.add_member(:type, Shapes::ShapeRef.new(shape: FailureType, required: true, location_name: "type"))
575
658
  FailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "message"))
576
659
  FailureDetails.add_member(:external_execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "externalExecutionId"))
577
660
  FailureDetails.struct_class = Types::FailureDetails
578
661
 
662
+ GetActionTypeInput.add_member(:category, Shapes::ShapeRef.new(shape: ActionCategory, required: true, location_name: "category"))
663
+ GetActionTypeInput.add_member(:owner, Shapes::ShapeRef.new(shape: ActionTypeOwner, required: true, location_name: "owner"))
664
+ GetActionTypeInput.add_member(:provider, Shapes::ShapeRef.new(shape: ActionProvider, required: true, location_name: "provider"))
665
+ GetActionTypeInput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
666
+ GetActionTypeInput.struct_class = Types::GetActionTypeInput
667
+
668
+ GetActionTypeOutput.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionTypeDeclaration, location_name: "actionType"))
669
+ GetActionTypeOutput.struct_class = Types::GetActionTypeOutput
670
+
579
671
  GetJobDetailsInput.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "jobId"))
580
672
  GetJobDetailsInput.struct_class = Types::GetJobDetailsInput
581
673
 
@@ -674,6 +766,13 @@ module Aws::CodePipeline
674
766
 
675
767
  JobNotFoundException.struct_class = Types::JobNotFoundException
676
768
 
769
+ JobWorkerExecutorConfiguration.add_member(:polling_accounts, Shapes::ShapeRef.new(shape: PollingAccountList, location_name: "pollingAccounts"))
770
+ JobWorkerExecutorConfiguration.add_member(:polling_service_principals, Shapes::ShapeRef.new(shape: PollingServicePrincipalList, location_name: "pollingServicePrincipals"))
771
+ JobWorkerExecutorConfiguration.struct_class = Types::JobWorkerExecutorConfiguration
772
+
773
+ LambdaExecutorConfiguration.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: LambdaFunctionArn, required: true, location_name: "lambdaFunctionArn"))
774
+ LambdaExecutorConfiguration.struct_class = Types::LambdaExecutorConfiguration
775
+
677
776
  LimitExceededException.struct_class = Types::LimitExceededException
678
777
 
679
778
  ListActionExecutionsInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
@@ -688,6 +787,7 @@ module Aws::CodePipeline
688
787
 
689
788
  ListActionTypesInput.add_member(:action_owner_filter, Shapes::ShapeRef.new(shape: ActionOwner, location_name: "actionOwnerFilter"))
690
789
  ListActionTypesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
790
+ ListActionTypesInput.add_member(:region_filter, Shapes::ShapeRef.new(shape: AWSRegionName, location_name: "regionFilter"))
691
791
  ListActionTypesInput.struct_class = Types::ListActionTypesInput
692
792
 
693
793
  ListActionTypesOutput.add_member(:action_types, Shapes::ShapeRef.new(shape: ActionTypeList, required: true, location_name: "actionTypes"))
@@ -824,6 +924,10 @@ module Aws::CodePipeline
824
924
  PollForThirdPartyJobsOutput.add_member(:jobs, Shapes::ShapeRef.new(shape: ThirdPartyJobList, location_name: "jobs"))
825
925
  PollForThirdPartyJobsOutput.struct_class = Types::PollForThirdPartyJobsOutput
826
926
 
927
+ PollingAccountList.member = Shapes::ShapeRef.new(shape: AccountId)
928
+
929
+ PollingServicePrincipalList.member = Shapes::ShapeRef.new(shape: ServicePrincipal)
930
+
827
931
  PutActionRevisionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
828
932
  PutActionRevisionInput.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, required: true, location_name: "stageName"))
829
933
  PutActionRevisionInput.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionName, required: true, location_name: "actionName"))
@@ -882,6 +986,9 @@ module Aws::CodePipeline
882
986
 
883
987
  RegisterWebhookWithThirdPartyOutput.struct_class = Types::RegisterWebhookWithThirdPartyOutput
884
988
 
989
+ RequestFailedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
990
+ RequestFailedException.struct_class = Types::RequestFailedException
991
+
885
992
  ResolvedActionConfigurationMap.key = Shapes::ShapeRef.new(shape: String)
886
993
  ResolvedActionConfigurationMap.value = Shapes::ShapeRef.new(shape: String)
887
994
 
@@ -1010,6 +1117,9 @@ module Aws::CodePipeline
1010
1117
 
1011
1118
  UntagResourceOutput.struct_class = Types::UntagResourceOutput
1012
1119
 
1120
+ UpdateActionTypeInput.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionTypeDeclaration, location_name: "actionType"))
1121
+ UpdateActionTypeInput.struct_class = Types::UpdateActionTypeInput
1122
+
1013
1123
  UpdatePipelineInput.add_member(:pipeline, Shapes::ShapeRef.new(shape: PipelineDeclaration, required: true, location_name: "pipeline"))
1014
1124
  UpdatePipelineInput.struct_class = Types::UpdatePipelineInput
1015
1125
 
@@ -1175,6 +1285,16 @@ module Aws::CodePipeline
1175
1285
  o.errors << Shapes::ShapeRef.new(shape: StageNotFoundException)
1176
1286
  end)
1177
1287
 
1288
+ api.add_operation(:get_action_type, Seahorse::Model::Operation.new.tap do |o|
1289
+ o.name = "GetActionType"
1290
+ o.http_method = "POST"
1291
+ o.http_request_uri = "/"
1292
+ o.input = Shapes::ShapeRef.new(shape: GetActionTypeInput)
1293
+ o.output = Shapes::ShapeRef.new(shape: GetActionTypeOutput)
1294
+ o.errors << Shapes::ShapeRef.new(shape: ActionTypeNotFoundException)
1295
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1296
+ end)
1297
+
1178
1298
  api.add_operation(:get_job_details, Seahorse::Model::Operation.new.tap do |o|
1179
1299
  o.name = "GetJobDetails"
1180
1300
  o.http_method = "POST"
@@ -1512,6 +1632,17 @@ module Aws::CodePipeline
1512
1632
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1513
1633
  end)
1514
1634
 
1635
+ api.add_operation(:update_action_type, Seahorse::Model::Operation.new.tap do |o|
1636
+ o.name = "UpdateActionType"
1637
+ o.http_method = "POST"
1638
+ o.http_request_uri = "/"
1639
+ o.input = Shapes::ShapeRef.new(shape: UpdateActionTypeInput)
1640
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1641
+ o.errors << Shapes::ShapeRef.new(shape: RequestFailedException)
1642
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1643
+ o.errors << Shapes::ShapeRef.new(shape: ActionTypeNotFoundException)
1644
+ end)
1645
+
1515
1646
  api.add_operation(:update_pipeline, Seahorse::Model::Operation.new.tap do |o|
1516
1647
  o.name = "UpdatePipeline"
1517
1648
  o.http_method = "POST"
@@ -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,225 @@ 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 allowed number of artifacts that can be used with the
743
+ # action type. For example, you should specify a minimum and maximum
744
+ # of zero input artifacts for an action type with a category of
745
+ # `source`.
746
+ # @return [Integer]
747
+ #
748
+ # @!attribute [rw] maximum_count
749
+ # The maximum allowed number of artifacts that can be used with the
750
+ # actiontype. For example, you should specify a minimum and maximum of
751
+ # zero input artifacts for an action type with a category of `source`.
752
+ # @return [Integer]
753
+ #
754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeArtifactDetails AWS API Documentation
755
+ #
756
+ class ActionTypeArtifactDetails < Struct.new(
757
+ :minimum_count,
758
+ :maximum_count)
759
+ SENSITIVE = []
760
+ include Aws::Structure
761
+ end
762
+
763
+ # The parameters for the action type definition that are provided when
764
+ # the action type is created or updated.
765
+ #
766
+ # @note When making an API call, you may pass ActionTypeDeclaration
767
+ # data as a hash:
768
+ #
769
+ # {
770
+ # description: "ActionTypeDescription",
771
+ # executor: { # required
772
+ # configuration: { # required
773
+ # lambda_executor_configuration: {
774
+ # lambda_function_arn: "LambdaFunctionArn", # required
775
+ # },
776
+ # job_worker_executor_configuration: {
777
+ # polling_accounts: ["AccountId"],
778
+ # polling_service_principals: ["ServicePrincipal"],
779
+ # },
780
+ # },
781
+ # type: "JobWorker", # required, accepts JobWorker, Lambda
782
+ # policy_statements_template: "PolicyStatementsTemplate",
783
+ # job_timeout: 1,
784
+ # },
785
+ # id: { # required
786
+ # category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
787
+ # owner: "ActionTypeOwner", # required
788
+ # provider: "ActionProvider", # required
789
+ # version: "Version", # required
790
+ # },
791
+ # input_artifact_details: { # required
792
+ # minimum_count: 1, # required
793
+ # maximum_count: 1, # required
794
+ # },
795
+ # output_artifact_details: { # required
796
+ # minimum_count: 1, # required
797
+ # maximum_count: 1, # required
798
+ # },
799
+ # permissions: {
800
+ # allowed_accounts: ["AllowedAccount"], # required
801
+ # },
802
+ # properties: [
803
+ # {
804
+ # name: "ActionConfigurationKey", # required
805
+ # optional: false, # required
806
+ # key: false, # required
807
+ # no_echo: false, # required
808
+ # queryable: false,
809
+ # description: "PropertyDescription",
810
+ # },
811
+ # ],
812
+ # urls: {
813
+ # configuration_url: "Url",
814
+ # entity_url_template: "UrlTemplate",
815
+ # execution_url_template: "UrlTemplate",
816
+ # revision_url_template: "UrlTemplate",
817
+ # },
818
+ # }
819
+ #
820
+ # @!attribute [rw] description
821
+ # The description for the action type to be updated.
822
+ # @return [String]
823
+ #
824
+ # @!attribute [rw] executor
825
+ # Information about the executor for an action type that was created
826
+ # with any supported integration model.
827
+ # @return [Types::ActionTypeExecutor]
828
+ #
829
+ # @!attribute [rw] id
830
+ # The action ID is composed of the action category, owner, provider,
831
+ # and version of the action type to be updated.
832
+ # @return [Types::ActionTypeIdentifier]
833
+ #
834
+ # @!attribute [rw] input_artifact_details
835
+ # Details for the artifacts, such as application files, to be worked
836
+ # on by the action. For example, the minimum and maximum number of
837
+ # input artifacts allowed.
838
+ # @return [Types::ActionTypeArtifactDetails]
839
+ #
840
+ # @!attribute [rw] output_artifact_details
841
+ # Details for the output artifacts, such as a built application, that
842
+ # are the result of the action. For example, the minimum and maximum
843
+ # number of output artifacts allowed.
844
+ # @return [Types::ActionTypeArtifactDetails]
845
+ #
846
+ # @!attribute [rw] permissions
847
+ # Details identifying the accounts with permissions to use the action
848
+ # type.
849
+ # @return [Types::ActionTypePermissions]
850
+ #
851
+ # @!attribute [rw] properties
852
+ # The properties of the action type to be updated.
853
+ # @return [Array<Types::ActionTypeProperty>]
854
+ #
855
+ # @!attribute [rw] urls
856
+ # The links associated with the action type to be updated.
857
+ # @return [Types::ActionTypeUrls]
858
+ #
859
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeDeclaration AWS API Documentation
860
+ #
861
+ class ActionTypeDeclaration < Struct.new(
862
+ :description,
863
+ :executor,
864
+ :id,
865
+ :input_artifact_details,
866
+ :output_artifact_details,
867
+ :permissions,
868
+ :properties,
869
+ :urls)
870
+ SENSITIVE = []
871
+ include Aws::Structure
872
+ end
873
+
874
+ # The action engine, or executor, for an action type created for a
875
+ # provider, where the action is to be used by customers of the provider.
876
+ # The action engine is associated with the model used to create and
877
+ # update the action, such as the Lambda integration model.
878
+ #
879
+ # @note When making an API call, you may pass ActionTypeExecutor
880
+ # data as a hash:
881
+ #
882
+ # {
883
+ # configuration: { # required
884
+ # lambda_executor_configuration: {
885
+ # lambda_function_arn: "LambdaFunctionArn", # required
886
+ # },
887
+ # job_worker_executor_configuration: {
888
+ # polling_accounts: ["AccountId"],
889
+ # polling_service_principals: ["ServicePrincipal"],
890
+ # },
891
+ # },
892
+ # type: "JobWorker", # required, accepts JobWorker, Lambda
893
+ # policy_statements_template: "PolicyStatementsTemplate",
894
+ # job_timeout: 1,
895
+ # }
896
+ #
897
+ # @!attribute [rw] configuration
898
+ # The action configuration properties for the action type. These
899
+ # properties are specified in the action definition when the action
900
+ # type is created.
901
+ # @return [Types::ExecutorConfiguration]
902
+ #
903
+ # @!attribute [rw] type
904
+ # The integration model used to create and update the action type,
905
+ # such as the Lambda integration model. Each integration type has a
906
+ # related action engine, or executor. The available executor types are
907
+ # `Lambda` and `JobWorker`.
908
+ # @return [String]
909
+ #
910
+ # @!attribute [rw] policy_statements_template
911
+ # The policy statement that specifies the permissions in the
912
+ # CodePipeline customer’s account that are needed to successfully run
913
+ # an action execution.
914
+ #
915
+ # To grant permission to another account, specify the account ID as
916
+ # the Principal. For AWS services, the Principal is a domain-style
917
+ # identifier defined by the service, like
918
+ # `codepipeline.amazonaws.com`.
919
+ #
920
+ # <note markdown="1"> The size of the passed JSON policy document cannot exceed 2048
921
+ # characters.
922
+ #
923
+ # </note>
924
+ # @return [String]
925
+ #
926
+ # @!attribute [rw] job_timeout
927
+ # The timeout in seconds for the job. An action execution can consist
928
+ # of multiple jobs. This is the timeout for a single job, and not for
929
+ # the entire action execution.
930
+ # @return [Integer]
931
+ #
932
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeExecutor AWS API Documentation
933
+ #
934
+ class ActionTypeExecutor < Struct.new(
935
+ :configuration,
936
+ :type,
937
+ :policy_statements_template,
938
+ :job_timeout)
939
+ SENSITIVE = []
940
+ include Aws::Structure
941
+ end
942
+
724
943
  # Represents information about an action type.
725
944
  #
726
945
  # @note When making an API call, you may pass ActionTypeId
@@ -791,12 +1010,147 @@ module Aws::CodePipeline
791
1010
  include Aws::Structure
792
1011
  end
793
1012
 
1013
+ # Specifies the category, owner, provider, and version of the action
1014
+ # type.
1015
+ #
1016
+ # @note When making an API call, you may pass ActionTypeIdentifier
1017
+ # data as a hash:
1018
+ #
1019
+ # {
1020
+ # category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
1021
+ # owner: "ActionTypeOwner", # required
1022
+ # provider: "ActionProvider", # required
1023
+ # version: "Version", # required
1024
+ # }
1025
+ #
1026
+ # @!attribute [rw] category
1027
+ # A category defines what kind of action can be taken in the stage.
1028
+ # Valid categories are limited to one of the following values:
1029
+ #
1030
+ # * `Source`
1031
+ #
1032
+ # * `Build`
1033
+ #
1034
+ # * `Test`
1035
+ #
1036
+ # * `Deploy`
1037
+ #
1038
+ # * `Approval`
1039
+ #
1040
+ # * `Invoke`
1041
+ # @return [String]
1042
+ #
1043
+ # @!attribute [rw] owner
1044
+ # The creator of the action type being called. There are two valid
1045
+ # values for the `owner` field: `AWS` and `ThirdParty`.
1046
+ # @return [String]
1047
+ #
1048
+ # @!attribute [rw] provider
1049
+ # The provider of the action type being called. The provider name is
1050
+ # supplied when the action type is created.
1051
+ # @return [String]
1052
+ #
1053
+ # @!attribute [rw] version
1054
+ # A string that describes the action type version.
1055
+ # @return [String]
1056
+ #
1057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeIdentifier AWS API Documentation
1058
+ #
1059
+ class ActionTypeIdentifier < Struct.new(
1060
+ :category,
1061
+ :owner,
1062
+ :provider,
1063
+ :version)
1064
+ SENSITIVE = []
1065
+ include Aws::Structure
1066
+ end
1067
+
794
1068
  # The specified action type cannot be found.
795
1069
  #
796
1070
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeNotFoundException AWS API Documentation
797
1071
  #
798
1072
  class ActionTypeNotFoundException < Aws::EmptyStructure; end
799
1073
 
1074
+ # Details identifying the users with permissions to use the action type.
1075
+ #
1076
+ # @note When making an API call, you may pass ActionTypePermissions
1077
+ # data as a hash:
1078
+ #
1079
+ # {
1080
+ # allowed_accounts: ["AllowedAccount"], # required
1081
+ # }
1082
+ #
1083
+ # @!attribute [rw] allowed_accounts
1084
+ # A list of AWS account IDs with allow access to use the action type
1085
+ # in their pipelines.
1086
+ # @return [Array<String>]
1087
+ #
1088
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypePermissions AWS API Documentation
1089
+ #
1090
+ class ActionTypePermissions < Struct.new(
1091
+ :allowed_accounts)
1092
+ SENSITIVE = []
1093
+ include Aws::Structure
1094
+ end
1095
+
1096
+ # Represents information about each property specified in the action
1097
+ # configuration, such as the description and key name that display for
1098
+ # the customer using the action type.
1099
+ #
1100
+ # @note When making an API call, you may pass ActionTypeProperty
1101
+ # data as a hash:
1102
+ #
1103
+ # {
1104
+ # name: "ActionConfigurationKey", # required
1105
+ # optional: false, # required
1106
+ # key: false, # required
1107
+ # no_echo: false, # required
1108
+ # queryable: false,
1109
+ # description: "PropertyDescription",
1110
+ # }
1111
+ #
1112
+ # @!attribute [rw] name
1113
+ # The property name. This represents a field name that is displayed to
1114
+ # users.
1115
+ # @return [String]
1116
+ #
1117
+ # @!attribute [rw] optional
1118
+ # Whether the configuration property is an optional value.
1119
+ # @return [Boolean]
1120
+ #
1121
+ # @!attribute [rw] key
1122
+ # Whether the configuration property is a key.
1123
+ # @return [Boolean]
1124
+ #
1125
+ # @!attribute [rw] no_echo
1126
+ # Determines whether the field value entered by the customer is
1127
+ # logged. If `noEcho` is `true`, the value is not shown in CloudTrail
1128
+ # logs for the action execution.
1129
+ # @return [Boolean]
1130
+ #
1131
+ # @!attribute [rw] queryable
1132
+ # Indicates that the property is used with polling. An action type can
1133
+ # have up to one queryable property. If it has one, that property must
1134
+ # be both required and not secret.
1135
+ # @return [Boolean]
1136
+ #
1137
+ # @!attribute [rw] description
1138
+ # The description of the property that is displayed to users.
1139
+ # @return [String]
1140
+ #
1141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeProperty AWS API Documentation
1142
+ #
1143
+ class ActionTypeProperty < Struct.new(
1144
+ :name,
1145
+ :optional,
1146
+ :key,
1147
+ :no_echo,
1148
+ :queryable,
1149
+ :description)
1150
+ SENSITIVE = []
1151
+ include Aws::Structure
1152
+ end
1153
+
800
1154
  # Returns information about the settings for an action type.
801
1155
  #
802
1156
  # @note When making an API call, you may pass ActionTypeSettings
@@ -847,6 +1201,55 @@ module Aws::CodePipeline
847
1201
  include Aws::Structure
848
1202
  end
849
1203
 
1204
+ # Returns information about URLs for web pages that display to customers
1205
+ # as links on the pipeline view, such as an external configuration page
1206
+ # for the action type.
1207
+ #
1208
+ # @note When making an API call, you may pass ActionTypeUrls
1209
+ # data as a hash:
1210
+ #
1211
+ # {
1212
+ # configuration_url: "Url",
1213
+ # entity_url_template: "UrlTemplate",
1214
+ # execution_url_template: "UrlTemplate",
1215
+ # revision_url_template: "UrlTemplate",
1216
+ # }
1217
+ #
1218
+ # @!attribute [rw] configuration_url
1219
+ # The URL returned to the CodePipeline console that contains a link to
1220
+ # the page where customers can configure the external action.
1221
+ # @return [String]
1222
+ #
1223
+ # @!attribute [rw] entity_url_template
1224
+ # The URL returned to the CodePipeline console that provides a deep
1225
+ # link to the resources of the external system, such as a status page.
1226
+ # This link is provided as part of the action display in the pipeline.
1227
+ # @return [String]
1228
+ #
1229
+ # @!attribute [rw] execution_url_template
1230
+ # The link to an execution page for the action type in progress. For
1231
+ # example, for a CodeDeploy action, this link is shown on the pipeline
1232
+ # view page in the CodePipeline console, and it links to a CodeDeploy
1233
+ # status page.
1234
+ # @return [String]
1235
+ #
1236
+ # @!attribute [rw] revision_url_template
1237
+ # The URL returned to the CodePipeline console that contains a link to
1238
+ # the page where customers can update or change the configuration of
1239
+ # the external action.
1240
+ # @return [String]
1241
+ #
1242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeUrls AWS API Documentation
1243
+ #
1244
+ class ActionTypeUrls < Struct.new(
1245
+ :configuration_url,
1246
+ :entity_url_template,
1247
+ :execution_url_template,
1248
+ :revision_url_template)
1249
+ SENSITIVE = []
1250
+ include Aws::Structure
1251
+ end
1252
+
850
1253
  # The approval action has already been approved or rejected.
851
1254
  #
852
1255
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ApprovalAlreadyCompletedException AWS API Documentation
@@ -1721,6 +2124,40 @@ module Aws::CodePipeline
1721
2124
  include Aws::Structure
1722
2125
  end
1723
2126
 
2127
+ # The action engine, or executor, related to the supported integration
2128
+ # model used to create and update the action type. The available
2129
+ # executor types are `Lambda` and `JobWorker`.
2130
+ #
2131
+ # @note When making an API call, you may pass ExecutorConfiguration
2132
+ # data as a hash:
2133
+ #
2134
+ # {
2135
+ # lambda_executor_configuration: {
2136
+ # lambda_function_arn: "LambdaFunctionArn", # required
2137
+ # },
2138
+ # job_worker_executor_configuration: {
2139
+ # polling_accounts: ["AccountId"],
2140
+ # polling_service_principals: ["ServicePrincipal"],
2141
+ # },
2142
+ # }
2143
+ #
2144
+ # @!attribute [rw] lambda_executor_configuration
2145
+ # Details about the `Lambda` executor of the action type.
2146
+ # @return [Types::LambdaExecutorConfiguration]
2147
+ #
2148
+ # @!attribute [rw] job_worker_executor_configuration
2149
+ # Details about the `JobWorker` executor of the action type.
2150
+ # @return [Types::JobWorkerExecutorConfiguration]
2151
+ #
2152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ExecutorConfiguration AWS API Documentation
2153
+ #
2154
+ class ExecutorConfiguration < Struct.new(
2155
+ :lambda_executor_configuration,
2156
+ :job_worker_executor_configuration)
2157
+ SENSITIVE = []
2158
+ include Aws::Structure
2159
+ end
2160
+
1724
2161
  # Represents information about failure details.
1725
2162
  #
1726
2163
  # @note When making an API call, you may pass FailureDetails
@@ -1754,6 +2191,72 @@ module Aws::CodePipeline
1754
2191
  include Aws::Structure
1755
2192
  end
1756
2193
 
2194
+ # @note When making an API call, you may pass GetActionTypeInput
2195
+ # data as a hash:
2196
+ #
2197
+ # {
2198
+ # category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
2199
+ # owner: "ActionTypeOwner", # required
2200
+ # provider: "ActionProvider", # required
2201
+ # version: "Version", # required
2202
+ # }
2203
+ #
2204
+ # @!attribute [rw] category
2205
+ # A category defines what kind of action can be taken in the stage.
2206
+ # Valid categories are limited to one of the following values:
2207
+ #
2208
+ # * `Source`
2209
+ #
2210
+ # * `Build`
2211
+ #
2212
+ # * `Test`
2213
+ #
2214
+ # * `Deploy`
2215
+ #
2216
+ # * `Approval`
2217
+ #
2218
+ # * `Invoke`
2219
+ # @return [String]
2220
+ #
2221
+ # @!attribute [rw] owner
2222
+ # The creator of an action type that has been created with any
2223
+ # supported integration model. There are two valid values for the
2224
+ # `owner` field in the action type category: `AWS` and `ThirdParty`.
2225
+ # @return [String]
2226
+ #
2227
+ # @!attribute [rw] provider
2228
+ # The provider of the action type being called. The provider name is
2229
+ # specified when the action type is created.
2230
+ # @return [String]
2231
+ #
2232
+ # @!attribute [rw] version
2233
+ # A string that describes the action type version.
2234
+ # @return [String]
2235
+ #
2236
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetActionTypeInput AWS API Documentation
2237
+ #
2238
+ class GetActionTypeInput < Struct.new(
2239
+ :category,
2240
+ :owner,
2241
+ :provider,
2242
+ :version)
2243
+ SENSITIVE = []
2244
+ include Aws::Structure
2245
+ end
2246
+
2247
+ # @!attribute [rw] action_type
2248
+ # The action type information for the requested action type, such as
2249
+ # the action type ID.
2250
+ # @return [Types::ActionTypeDeclaration]
2251
+ #
2252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetActionTypeOutput AWS API Documentation
2253
+ #
2254
+ class GetActionTypeOutput < Struct.new(
2255
+ :action_type)
2256
+ SENSITIVE = []
2257
+ include Aws::Structure
2258
+ end
2259
+
1757
2260
  # Represents the input of a `GetJobDetails` action.
1758
2261
  #
1759
2262
  # @note When making an API call, you may pass GetJobDetailsInput
@@ -2243,6 +2746,58 @@ module Aws::CodePipeline
2243
2746
  #
2244
2747
  class JobNotFoundException < Aws::EmptyStructure; end
2245
2748
 
2749
+ # Details about the polling configuration for the `JobWorker` action
2750
+ # engine, or executor.
2751
+ #
2752
+ # @note When making an API call, you may pass JobWorkerExecutorConfiguration
2753
+ # data as a hash:
2754
+ #
2755
+ # {
2756
+ # polling_accounts: ["AccountId"],
2757
+ # polling_service_principals: ["ServicePrincipal"],
2758
+ # }
2759
+ #
2760
+ # @!attribute [rw] polling_accounts
2761
+ # The accounts in which the job worker is configured and might poll
2762
+ # for jobs as part of the action execution.
2763
+ # @return [Array<String>]
2764
+ #
2765
+ # @!attribute [rw] polling_service_principals
2766
+ # The service Principals in which the job worker is configured and
2767
+ # might poll for jobs as part of the action execution.
2768
+ # @return [Array<String>]
2769
+ #
2770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobWorkerExecutorConfiguration AWS API Documentation
2771
+ #
2772
+ class JobWorkerExecutorConfiguration < Struct.new(
2773
+ :polling_accounts,
2774
+ :polling_service_principals)
2775
+ SENSITIVE = []
2776
+ include Aws::Structure
2777
+ end
2778
+
2779
+ # Details about the configuration for the `Lambda` action engine, or
2780
+ # executor.
2781
+ #
2782
+ # @note When making an API call, you may pass LambdaExecutorConfiguration
2783
+ # data as a hash:
2784
+ #
2785
+ # {
2786
+ # lambda_function_arn: "LambdaFunctionArn", # required
2787
+ # }
2788
+ #
2789
+ # @!attribute [rw] lambda_function_arn
2790
+ # The ARN of the Lambda function used by the action engine.
2791
+ # @return [String]
2792
+ #
2793
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/LambdaExecutorConfiguration AWS API Documentation
2794
+ #
2795
+ class LambdaExecutorConfiguration < Struct.new(
2796
+ :lambda_function_arn)
2797
+ SENSITIVE = []
2798
+ include Aws::Structure
2799
+ end
2800
+
2246
2801
  # The number of pipelines associated with the AWS account has exceeded
2247
2802
  # the limit allowed for the account.
2248
2803
  #
@@ -2329,6 +2884,7 @@ module Aws::CodePipeline
2329
2884
  # {
2330
2885
  # action_owner_filter: "AWS", # accepts AWS, ThirdParty, Custom
2331
2886
  # next_token: "NextToken",
2887
+ # region_filter: "AWSRegionName",
2332
2888
  # }
2333
2889
  #
2334
2890
  # @!attribute [rw] action_owner_filter
@@ -2342,11 +2898,16 @@ module Aws::CodePipeline
2342
2898
  # the list.
2343
2899
  # @return [String]
2344
2900
  #
2901
+ # @!attribute [rw] region_filter
2902
+ # The Region to filter on for the list of action types.
2903
+ # @return [String]
2904
+ #
2345
2905
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypesInput AWS API Documentation
2346
2906
  #
2347
2907
  class ListActionTypesInput < Struct.new(
2348
2908
  :action_owner_filter,
2349
- :next_token)
2909
+ :next_token,
2910
+ :region_filter)
2350
2911
  SENSITIVE = []
2351
2912
  include Aws::Structure
2352
2913
  end
@@ -3606,6 +4167,20 @@ module Aws::CodePipeline
3606
4167
  #
3607
4168
  class RegisterWebhookWithThirdPartyOutput < Aws::EmptyStructure; end
3608
4169
 
4170
+ # The request has failed because of an unknown error, exception, or
4171
+ # failure.
4172
+ #
4173
+ # @!attribute [rw] message
4174
+ # @return [String]
4175
+ #
4176
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RequestFailedException AWS API Documentation
4177
+ #
4178
+ class RequestFailedException < Struct.new(
4179
+ :message)
4180
+ SENSITIVE = []
4181
+ include Aws::Structure
4182
+ end
4183
+
3609
4184
  # The resource was specified in an invalid format.
3610
4185
  #
3611
4186
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ResourceNotFoundException AWS API Documentation
@@ -4269,6 +4844,74 @@ module Aws::CodePipeline
4269
4844
  #
4270
4845
  class UntagResourceOutput < Aws::EmptyStructure; end
4271
4846
 
4847
+ # @note When making an API call, you may pass UpdateActionTypeInput
4848
+ # data as a hash:
4849
+ #
4850
+ # {
4851
+ # action_type: {
4852
+ # description: "ActionTypeDescription",
4853
+ # executor: { # required
4854
+ # configuration: { # required
4855
+ # lambda_executor_configuration: {
4856
+ # lambda_function_arn: "LambdaFunctionArn", # required
4857
+ # },
4858
+ # job_worker_executor_configuration: {
4859
+ # polling_accounts: ["AccountId"],
4860
+ # polling_service_principals: ["ServicePrincipal"],
4861
+ # },
4862
+ # },
4863
+ # type: "JobWorker", # required, accepts JobWorker, Lambda
4864
+ # policy_statements_template: "PolicyStatementsTemplate",
4865
+ # job_timeout: 1,
4866
+ # },
4867
+ # id: { # required
4868
+ # category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
4869
+ # owner: "ActionTypeOwner", # required
4870
+ # provider: "ActionProvider", # required
4871
+ # version: "Version", # required
4872
+ # },
4873
+ # input_artifact_details: { # required
4874
+ # minimum_count: 1, # required
4875
+ # maximum_count: 1, # required
4876
+ # },
4877
+ # output_artifact_details: { # required
4878
+ # minimum_count: 1, # required
4879
+ # maximum_count: 1, # required
4880
+ # },
4881
+ # permissions: {
4882
+ # allowed_accounts: ["AllowedAccount"], # required
4883
+ # },
4884
+ # properties: [
4885
+ # {
4886
+ # name: "ActionConfigurationKey", # required
4887
+ # optional: false, # required
4888
+ # key: false, # required
4889
+ # no_echo: false, # required
4890
+ # queryable: false,
4891
+ # description: "PropertyDescription",
4892
+ # },
4893
+ # ],
4894
+ # urls: {
4895
+ # configuration_url: "Url",
4896
+ # entity_url_template: "UrlTemplate",
4897
+ # execution_url_template: "UrlTemplate",
4898
+ # revision_url_template: "UrlTemplate",
4899
+ # },
4900
+ # },
4901
+ # }
4902
+ #
4903
+ # @!attribute [rw] action_type
4904
+ # The action type definition for the action type to be updated.
4905
+ # @return [Types::ActionTypeDeclaration]
4906
+ #
4907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdateActionTypeInput AWS API Documentation
4908
+ #
4909
+ class UpdateActionTypeInput < Struct.new(
4910
+ :action_type)
4911
+ SENSITIVE = []
4912
+ include Aws::Structure
4913
+ end
4914
+
4272
4915
  # Represents the input of an `UpdatePipeline` action.
4273
4916
  #
4274
4917
  # @note When making an API call, you may pass UpdatePipelineInput
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codepipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core