aws-sdk-codepipeline 1.13.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96aa4a908d31f796553e0bced111d0df20777920
4
- data.tar.gz: df320c2899d7ac8314b0da657bc4624a4c325e0c
3
+ metadata.gz: a318ae6f97d0f1813979410b9f9a99cb4aff564d
4
+ data.tar.gz: 8b67852ba0c4c3e94d446311e2842b3d4a6ec3ac
5
5
  SHA512:
6
- metadata.gz: fdad1dd0144965861062117a8010584580613c5b2d711ef5928ad84eee655c447e2bc36854a28aea736a44e71cdcba541d3039591d67ebdd65f14c5b8638e2bb
7
- data.tar.gz: 6ae04e685b721c4ebcbe7278e6f1b6d74d00cf143958cbf8d22f2c893dd0c12504f3e7a173a4a7be3bdef5f77b71383412888fbc780cfc4afced7ad98088c7c4
6
+ metadata.gz: 6abb6eb76b975fb1a25aeaf0f3fd59b5eb700744ccb85450a08116bbbdd54dc1acb295811fd0b9a66a57eefc2cdd23b43e5bf562fc1c5fecdb3cdb82086cf190
7
+ data.tar.gz: 1631f4063450ea0bf13ca7df3333b63988d4a1efbf7e47de008546ce0cd2fcaf59aa3fa8403de578345eb0f2d753522829052cc1bf482c80ea986fec42163443
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-codepipeline/customizations'
42
42
  # @service
43
43
  module Aws::CodePipeline
44
44
 
45
- GEM_VERSION = '1.13.0'
45
+ GEM_VERSION = '1.14.0'
46
46
 
47
47
  end
@@ -328,7 +328,7 @@ module Aws::CodePipeline
328
328
  #
329
329
  #
330
330
  #
331
- # [1]: http://docs.aws.amazon.com/codepipeline/latest/userguide/how-to-create-custom-action.html
331
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/how-to-create-custom-action.html
332
332
  #
333
333
  # @option params [required, Types::ArtifactDetails] :input_artifact_details
334
334
  # The details of the input artifact for the action, such as its commit
@@ -903,6 +903,12 @@ module Aws::CodePipeline
903
903
  # Returns information about the state of a pipeline, including the
904
904
  # stages and actions.
905
905
  #
906
+ # <note markdown="1"> Values returned in the revisionId and revisionUrl fields indicate the
907
+ # source revision information, such as the commit ID, for the current
908
+ # state.
909
+ #
910
+ # </note>
911
+ #
906
912
  # @option params [required, String] :name
907
913
  # The name of the pipeline about which you want to get information.
908
914
  #
@@ -1030,6 +1036,83 @@ module Aws::CodePipeline
1030
1036
  req.send_request(options)
1031
1037
  end
1032
1038
 
1039
+ # Lists the action executions that have occurred in a pipeline.
1040
+ #
1041
+ # @option params [required, String] :pipeline_name
1042
+ # The name of the pipeline for which you want to list action execution
1043
+ # history.
1044
+ #
1045
+ # @option params [Types::ActionExecutionFilter] :filter
1046
+ # Input information used to filter action execution history.
1047
+ #
1048
+ # @option params [Integer] :max_results
1049
+ # The maximum number of results to return in a single call. To retrieve
1050
+ # the remaining results, make another call with the returned nextToken
1051
+ # value. The action execution history is limited to the most recent 12
1052
+ # months, based on action execution start times. Default value is 100.
1053
+ #
1054
+ # @option params [String] :next_token
1055
+ # The token that was returned from the previous ListActionExecutions
1056
+ # call, which can be used to return the next set of action executions in
1057
+ # the list.
1058
+ #
1059
+ # @return [Types::ListActionExecutionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1060
+ #
1061
+ # * {Types::ListActionExecutionsOutput#action_execution_details #action_execution_details} => Array&lt;Types::ActionExecutionDetail&gt;
1062
+ # * {Types::ListActionExecutionsOutput#next_token #next_token} => String
1063
+ #
1064
+ # @example Request syntax with placeholder values
1065
+ #
1066
+ # resp = client.list_action_executions({
1067
+ # pipeline_name: "PipelineName", # required
1068
+ # filter: {
1069
+ # pipeline_execution_id: "PipelineExecutionId",
1070
+ # },
1071
+ # max_results: 1,
1072
+ # next_token: "NextToken",
1073
+ # })
1074
+ #
1075
+ # @example Response structure
1076
+ #
1077
+ # resp.action_execution_details #=> Array
1078
+ # resp.action_execution_details[0].pipeline_execution_id #=> String
1079
+ # resp.action_execution_details[0].action_execution_id #=> String
1080
+ # resp.action_execution_details[0].pipeline_version #=> Integer
1081
+ # resp.action_execution_details[0].stage_name #=> String
1082
+ # resp.action_execution_details[0].action_name #=> String
1083
+ # resp.action_execution_details[0].start_time #=> Time
1084
+ # resp.action_execution_details[0].last_update_time #=> Time
1085
+ # resp.action_execution_details[0].status #=> String, one of "InProgress", "Succeeded", "Failed"
1086
+ # resp.action_execution_details[0].input.action_type_id.category #=> String, one of "Source", "Build", "Deploy", "Test", "Invoke", "Approval"
1087
+ # resp.action_execution_details[0].input.action_type_id.owner #=> String, one of "AWS", "ThirdParty", "Custom"
1088
+ # resp.action_execution_details[0].input.action_type_id.provider #=> String
1089
+ # resp.action_execution_details[0].input.action_type_id.version #=> String
1090
+ # resp.action_execution_details[0].input.configuration #=> Hash
1091
+ # resp.action_execution_details[0].input.configuration["ActionConfigurationKey"] #=> String
1092
+ # resp.action_execution_details[0].input.role_arn #=> String
1093
+ # resp.action_execution_details[0].input.region #=> String
1094
+ # resp.action_execution_details[0].input.input_artifacts #=> Array
1095
+ # resp.action_execution_details[0].input.input_artifacts[0].name #=> String
1096
+ # resp.action_execution_details[0].input.input_artifacts[0].s3location.bucket #=> String
1097
+ # resp.action_execution_details[0].input.input_artifacts[0].s3location.key #=> String
1098
+ # resp.action_execution_details[0].output.output_artifacts #=> Array
1099
+ # resp.action_execution_details[0].output.output_artifacts[0].name #=> String
1100
+ # resp.action_execution_details[0].output.output_artifacts[0].s3location.bucket #=> String
1101
+ # resp.action_execution_details[0].output.output_artifacts[0].s3location.key #=> String
1102
+ # resp.action_execution_details[0].output.execution_result.external_execution_id #=> String
1103
+ # resp.action_execution_details[0].output.execution_result.external_execution_summary #=> String
1104
+ # resp.action_execution_details[0].output.execution_result.external_execution_url #=> String
1105
+ # resp.next_token #=> String
1106
+ #
1107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionExecutions AWS API Documentation
1108
+ #
1109
+ # @overload list_action_executions(params = {})
1110
+ # @param [Hash] params ({})
1111
+ def list_action_executions(params = {}, options = {})
1112
+ req = build_request(:list_action_executions, params)
1113
+ req.send_request(options)
1114
+ end
1115
+
1033
1116
  # Gets a summary of all AWS CodePipeline action types associated with
1034
1117
  # your account.
1035
1118
  #
@@ -1950,7 +2033,7 @@ module Aws::CodePipeline
1950
2033
  params: params,
1951
2034
  config: config)
1952
2035
  context[:gem_name] = 'aws-sdk-codepipeline'
1953
- context[:gem_version] = '1.13.0'
2036
+ context[:gem_version] = '1.14.0'
1954
2037
  Seahorse::Client::Request.new(handlers, context)
1955
2038
  end
1956
2039
 
@@ -31,6 +31,13 @@ module Aws::CodePipeline
31
31
  ActionContext = Shapes::StructureShape.new(name: 'ActionContext')
32
32
  ActionDeclaration = Shapes::StructureShape.new(name: 'ActionDeclaration')
33
33
  ActionExecution = Shapes::StructureShape.new(name: 'ActionExecution')
34
+ ActionExecutionDetail = Shapes::StructureShape.new(name: 'ActionExecutionDetail')
35
+ ActionExecutionDetailList = Shapes::ListShape.new(name: 'ActionExecutionDetailList')
36
+ ActionExecutionFilter = Shapes::StructureShape.new(name: 'ActionExecutionFilter')
37
+ ActionExecutionId = Shapes::StringShape.new(name: 'ActionExecutionId')
38
+ ActionExecutionInput = Shapes::StructureShape.new(name: 'ActionExecutionInput')
39
+ ActionExecutionOutput = Shapes::StructureShape.new(name: 'ActionExecutionOutput')
40
+ ActionExecutionResult = Shapes::StructureShape.new(name: 'ActionExecutionResult')
34
41
  ActionExecutionStatus = Shapes::StringShape.new(name: 'ActionExecutionStatus')
35
42
  ActionExecutionToken = Shapes::StringShape.new(name: 'ActionExecutionToken')
36
43
  ActionName = Shapes::StringShape.new(name: 'ActionName')
@@ -52,6 +59,8 @@ module Aws::CodePipeline
52
59
  ApprovalSummary = Shapes::StringShape.new(name: 'ApprovalSummary')
53
60
  ApprovalToken = Shapes::StringShape.new(name: 'ApprovalToken')
54
61
  Artifact = Shapes::StructureShape.new(name: 'Artifact')
62
+ ArtifactDetail = Shapes::StructureShape.new(name: 'ArtifactDetail')
63
+ ArtifactDetailList = Shapes::ListShape.new(name: 'ArtifactDetailList')
55
64
  ArtifactDetails = Shapes::StructureShape.new(name: 'ArtifactDetails')
56
65
  ArtifactList = Shapes::ListShape.new(name: 'ArtifactList')
57
66
  ArtifactLocation = Shapes::StructureShape.new(name: 'ArtifactLocation')
@@ -95,6 +104,8 @@ module Aws::CodePipeline
95
104
  ExecutionDetails = Shapes::StructureShape.new(name: 'ExecutionDetails')
96
105
  ExecutionId = Shapes::StringShape.new(name: 'ExecutionId')
97
106
  ExecutionSummary = Shapes::StringShape.new(name: 'ExecutionSummary')
107
+ ExternalExecutionId = Shapes::StringShape.new(name: 'ExternalExecutionId')
108
+ ExternalExecutionSummary = Shapes::StringShape.new(name: 'ExternalExecutionSummary')
98
109
  FailureDetails = Shapes::StructureShape.new(name: 'FailureDetails')
99
110
  FailureType = Shapes::StringShape.new(name: 'FailureType')
100
111
  GetJobDetailsInput = Shapes::StructureShape.new(name: 'GetJobDetailsInput')
@@ -133,6 +144,8 @@ module Aws::CodePipeline
133
144
  LastChangedBy = Shapes::StringShape.new(name: 'LastChangedBy')
134
145
  LastUpdatedBy = Shapes::StringShape.new(name: 'LastUpdatedBy')
135
146
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
147
+ ListActionExecutionsInput = Shapes::StructureShape.new(name: 'ListActionExecutionsInput')
148
+ ListActionExecutionsOutput = Shapes::StructureShape.new(name: 'ListActionExecutionsOutput')
136
149
  ListActionTypesInput = Shapes::StructureShape.new(name: 'ListActionTypesInput')
137
150
  ListActionTypesOutput = Shapes::StructureShape.new(name: 'ListActionTypesOutput')
138
151
  ListPipelineExecutionsInput = Shapes::StructureShape.new(name: 'ListPipelineExecutionsInput')
@@ -196,7 +209,10 @@ module Aws::CodePipeline
196
209
  RevisionSummary = Shapes::StringShape.new(name: 'RevisionSummary')
197
210
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
198
211
  S3ArtifactLocation = Shapes::StructureShape.new(name: 'S3ArtifactLocation')
212
+ S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
199
213
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
214
+ S3Key = Shapes::StringShape.new(name: 'S3Key')
215
+ S3Location = Shapes::StructureShape.new(name: 'S3Location')
200
216
  S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
201
217
  SecretAccessKey = Shapes::StringShape.new(name: 'SecretAccessKey')
202
218
  SessionToken = Shapes::StringShape.new(name: 'SessionToken')
@@ -308,6 +324,39 @@ module Aws::CodePipeline
308
324
  ActionExecution.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "errorDetails"))
309
325
  ActionExecution.struct_class = Types::ActionExecution
310
326
 
327
+ ActionExecutionDetail.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
328
+ ActionExecutionDetail.add_member(:action_execution_id, Shapes::ShapeRef.new(shape: ActionExecutionId, location_name: "actionExecutionId"))
329
+ ActionExecutionDetail.add_member(:pipeline_version, Shapes::ShapeRef.new(shape: PipelineVersion, location_name: "pipelineVersion"))
330
+ ActionExecutionDetail.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, location_name: "stageName"))
331
+ ActionExecutionDetail.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionName, location_name: "actionName"))
332
+ ActionExecutionDetail.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
333
+ ActionExecutionDetail.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
334
+ ActionExecutionDetail.add_member(:status, Shapes::ShapeRef.new(shape: ActionExecutionStatus, location_name: "status"))
335
+ ActionExecutionDetail.add_member(:input, Shapes::ShapeRef.new(shape: ActionExecutionInput, location_name: "input"))
336
+ ActionExecutionDetail.add_member(:output, Shapes::ShapeRef.new(shape: ActionExecutionOutput, location_name: "output"))
337
+ ActionExecutionDetail.struct_class = Types::ActionExecutionDetail
338
+
339
+ ActionExecutionDetailList.member = Shapes::ShapeRef.new(shape: ActionExecutionDetail)
340
+
341
+ ActionExecutionFilter.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
342
+ ActionExecutionFilter.struct_class = Types::ActionExecutionFilter
343
+
344
+ ActionExecutionInput.add_member(:action_type_id, Shapes::ShapeRef.new(shape: ActionTypeId, location_name: "actionTypeId"))
345
+ ActionExecutionInput.add_member(:configuration, Shapes::ShapeRef.new(shape: ActionConfigurationMap, location_name: "configuration"))
346
+ ActionExecutionInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
347
+ ActionExecutionInput.add_member(:region, Shapes::ShapeRef.new(shape: AWSRegionName, location_name: "region"))
348
+ ActionExecutionInput.add_member(:input_artifacts, Shapes::ShapeRef.new(shape: ArtifactDetailList, location_name: "inputArtifacts"))
349
+ ActionExecutionInput.struct_class = Types::ActionExecutionInput
350
+
351
+ ActionExecutionOutput.add_member(:output_artifacts, Shapes::ShapeRef.new(shape: ArtifactDetailList, location_name: "outputArtifacts"))
352
+ ActionExecutionOutput.add_member(:execution_result, Shapes::ShapeRef.new(shape: ActionExecutionResult, location_name: "executionResult"))
353
+ ActionExecutionOutput.struct_class = Types::ActionExecutionOutput
354
+
355
+ ActionExecutionResult.add_member(:external_execution_id, Shapes::ShapeRef.new(shape: ExternalExecutionId, location_name: "externalExecutionId"))
356
+ ActionExecutionResult.add_member(:external_execution_summary, Shapes::ShapeRef.new(shape: ExternalExecutionSummary, location_name: "externalExecutionSummary"))
357
+ ActionExecutionResult.add_member(:external_execution_url, Shapes::ShapeRef.new(shape: Url, location_name: "externalExecutionUrl"))
358
+ ActionExecutionResult.struct_class = Types::ActionExecutionResult
359
+
311
360
  ActionRevision.add_member(:revision_id, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "revisionId"))
312
361
  ActionRevision.add_member(:revision_change_id, Shapes::ShapeRef.new(shape: RevisionChangeIdentifier, required: true, location_name: "revisionChangeId"))
313
362
  ActionRevision.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "created"))
@@ -352,6 +401,12 @@ module Aws::CodePipeline
352
401
  Artifact.add_member(:location, Shapes::ShapeRef.new(shape: ArtifactLocation, location_name: "location"))
353
402
  Artifact.struct_class = Types::Artifact
354
403
 
404
+ ArtifactDetail.add_member(:name, Shapes::ShapeRef.new(shape: ArtifactName, location_name: "name"))
405
+ ArtifactDetail.add_member(:s3location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3location"))
406
+ ArtifactDetail.struct_class = Types::ArtifactDetail
407
+
408
+ ArtifactDetailList.member = Shapes::ShapeRef.new(shape: ArtifactDetail)
409
+
355
410
  ArtifactDetails.add_member(:minimum_count, Shapes::ShapeRef.new(shape: MinimumArtifactCount, required: true, location_name: "minimumCount"))
356
411
  ArtifactDetails.add_member(:maximum_count, Shapes::ShapeRef.new(shape: MaximumArtifactCount, required: true, location_name: "maximumCount"))
357
412
  ArtifactDetails.struct_class = Types::ArtifactDetails
@@ -521,6 +576,16 @@ module Aws::CodePipeline
521
576
 
522
577
  JobList.member = Shapes::ShapeRef.new(shape: Job)
523
578
 
579
+ ListActionExecutionsInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
580
+ ListActionExecutionsInput.add_member(:filter, Shapes::ShapeRef.new(shape: ActionExecutionFilter, location_name: "filter"))
581
+ ListActionExecutionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
582
+ ListActionExecutionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
583
+ ListActionExecutionsInput.struct_class = Types::ListActionExecutionsInput
584
+
585
+ ListActionExecutionsOutput.add_member(:action_execution_details, Shapes::ShapeRef.new(shape: ActionExecutionDetailList, location_name: "actionExecutionDetails"))
586
+ ListActionExecutionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
587
+ ListActionExecutionsOutput.struct_class = Types::ListActionExecutionsOutput
588
+
524
589
  ListActionTypesInput.add_member(:action_owner_filter, Shapes::ShapeRef.new(shape: ActionOwner, location_name: "actionOwnerFilter"))
525
590
  ListActionTypesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
526
591
  ListActionTypesInput.struct_class = Types::ListActionTypesInput
@@ -694,6 +759,10 @@ module Aws::CodePipeline
694
759
  S3ArtifactLocation.add_member(:object_key, Shapes::ShapeRef.new(shape: S3ObjectKey, required: true, location_name: "objectKey"))
695
760
  S3ArtifactLocation.struct_class = Types::S3ArtifactLocation
696
761
 
762
+ S3Location.add_member(:bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "bucket"))
763
+ S3Location.add_member(:key, Shapes::ShapeRef.new(shape: S3Key, location_name: "key"))
764
+ S3Location.struct_class = Types::S3Location
765
+
697
766
  SourceRevision.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionName, required: true, location_name: "actionName"))
698
767
  SourceRevision.add_member(:revision_id, Shapes::ShapeRef.new(shape: Revision, location_name: "revisionId"))
699
768
  SourceRevision.add_member(:revision_summary, Shapes::ShapeRef.new(shape: RevisionSummary, location_name: "revisionSummary"))
@@ -966,6 +1035,18 @@ module Aws::CodePipeline
966
1035
  o.errors << Shapes::ShapeRef.new(shape: InvalidJobException)
967
1036
  end)
968
1037
 
1038
+ api.add_operation(:list_action_executions, Seahorse::Model::Operation.new.tap do |o|
1039
+ o.name = "ListActionExecutions"
1040
+ o.http_method = "POST"
1041
+ o.http_request_uri = "/"
1042
+ o.input = Shapes::ShapeRef.new(shape: ListActionExecutionsInput)
1043
+ o.output = Shapes::ShapeRef.new(shape: ListActionExecutionsOutput)
1044
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1045
+ o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1047
+ o.errors << Shapes::ShapeRef.new(shape: PipelineExecutionNotFoundException)
1048
+ end)
1049
+
969
1050
  api.add_operation(:list_action_types, Seahorse::Model::Operation.new.tap do |o|
970
1051
  o.name = "ListActionTypes"
971
1052
  o.http_method = "POST"
@@ -365,6 +365,169 @@ module Aws::CodePipeline
365
365
  include Aws::Structure
366
366
  end
367
367
 
368
+ # Returns information about an execution of an action, including the
369
+ # action execution ID, and the name, version, and timing of the action.
370
+ #
371
+ # @!attribute [rw] pipeline_execution_id
372
+ # The pipeline execution ID for the action execution.
373
+ # @return [String]
374
+ #
375
+ # @!attribute [rw] action_execution_id
376
+ # The action execution ID.
377
+ # @return [String]
378
+ #
379
+ # @!attribute [rw] pipeline_version
380
+ # The version of the pipeline where the action was run.
381
+ # @return [Integer]
382
+ #
383
+ # @!attribute [rw] stage_name
384
+ # The name of the stage that contains the action.
385
+ # @return [String]
386
+ #
387
+ # @!attribute [rw] action_name
388
+ # The name of the action.
389
+ # @return [String]
390
+ #
391
+ # @!attribute [rw] start_time
392
+ # The start time of the action execution.
393
+ # @return [Time]
394
+ #
395
+ # @!attribute [rw] last_update_time
396
+ # The last update time of the action execution.
397
+ # @return [Time]
398
+ #
399
+ # @!attribute [rw] status
400
+ # The status of the action execution. Status categories are
401
+ # InProgress, Succeeded, and Failed.
402
+ # @return [String]
403
+ #
404
+ # @!attribute [rw] input
405
+ # Input details for the action execution, such as role ARN, Region,
406
+ # and input artifacts.
407
+ # @return [Types::ActionExecutionInput]
408
+ #
409
+ # @!attribute [rw] output
410
+ # Output details for the action execution, such as the action
411
+ # execution result.
412
+ # @return [Types::ActionExecutionOutput]
413
+ #
414
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecutionDetail AWS API Documentation
415
+ #
416
+ class ActionExecutionDetail < Struct.new(
417
+ :pipeline_execution_id,
418
+ :action_execution_id,
419
+ :pipeline_version,
420
+ :stage_name,
421
+ :action_name,
422
+ :start_time,
423
+ :last_update_time,
424
+ :status,
425
+ :input,
426
+ :output)
427
+ include Aws::Structure
428
+ end
429
+
430
+ # Filter values for the action execution.
431
+ #
432
+ # @note When making an API call, you may pass ActionExecutionFilter
433
+ # data as a hash:
434
+ #
435
+ # {
436
+ # pipeline_execution_id: "PipelineExecutionId",
437
+ # }
438
+ #
439
+ # @!attribute [rw] pipeline_execution_id
440
+ # The pipeline execution ID used to filter action execution history.
441
+ # @return [String]
442
+ #
443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecutionFilter AWS API Documentation
444
+ #
445
+ class ActionExecutionFilter < Struct.new(
446
+ :pipeline_execution_id)
447
+ include Aws::Structure
448
+ end
449
+
450
+ # Input information used for an action execution.
451
+ #
452
+ # @!attribute [rw] action_type_id
453
+ # Represents information about an action type.
454
+ # @return [Types::ActionTypeId]
455
+ #
456
+ # @!attribute [rw] configuration
457
+ # Configuration data for an action execution.
458
+ # @return [Hash<String,String>]
459
+ #
460
+ # @!attribute [rw] role_arn
461
+ # The ARN of the IAM service role that performs the declared action.
462
+ # This is assumed through the roleArn for the pipeline.
463
+ # @return [String]
464
+ #
465
+ # @!attribute [rw] region
466
+ # The AWS Region for the action, such as us-east-1.
467
+ # @return [String]
468
+ #
469
+ # @!attribute [rw] input_artifacts
470
+ # Details of input artifacts of the action that correspond to the
471
+ # action execution.
472
+ # @return [Array<Types::ArtifactDetail>]
473
+ #
474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecutionInput AWS API Documentation
475
+ #
476
+ class ActionExecutionInput < Struct.new(
477
+ :action_type_id,
478
+ :configuration,
479
+ :role_arn,
480
+ :region,
481
+ :input_artifacts)
482
+ include Aws::Structure
483
+ end
484
+
485
+ # Output details listed for an action execution, such as the action
486
+ # execution result.
487
+ #
488
+ # @!attribute [rw] output_artifacts
489
+ # Details of output artifacts of the action that correspond to the
490
+ # action execution.
491
+ # @return [Array<Types::ArtifactDetail>]
492
+ #
493
+ # @!attribute [rw] execution_result
494
+ # Execution result information listed in the output details for an
495
+ # action execution.
496
+ # @return [Types::ActionExecutionResult]
497
+ #
498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecutionOutput AWS API Documentation
499
+ #
500
+ class ActionExecutionOutput < Struct.new(
501
+ :output_artifacts,
502
+ :execution_result)
503
+ include Aws::Structure
504
+ end
505
+
506
+ # Execution result information, such as the external execution ID.
507
+ #
508
+ # @!attribute [rw] external_execution_id
509
+ # The action provider's external ID for the action execution.
510
+ # @return [String]
511
+ #
512
+ # @!attribute [rw] external_execution_summary
513
+ # The action provider's summary for the action execution.
514
+ # @return [String]
515
+ #
516
+ # @!attribute [rw] external_execution_url
517
+ # The deepest external link to the external resource (for example, a
518
+ # repository URL or deployment endpoint) that is used when running the
519
+ # action.
520
+ # @return [String]
521
+ #
522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecutionResult AWS API Documentation
523
+ #
524
+ class ActionExecutionResult < Struct.new(
525
+ :external_execution_id,
526
+ :external_execution_summary,
527
+ :external_execution_url)
528
+ include Aws::Structure
529
+ end
530
+
368
531
  # Represents information about the version (or revision) of an action.
369
532
  #
370
533
  # @note When making an API call, you may pass ActionRevision
@@ -496,7 +659,13 @@ module Aws::CodePipeline
496
659
  # The provider of the service being called by the action. Valid
497
660
  # providers are determined by the action category. For example, an
498
661
  # action in the Deploy category type might have a provider of AWS
499
- # CodeDeploy, which would be specified as CodeDeploy.
662
+ # CodeDeploy, which would be specified as CodeDeploy. To reference a
663
+ # list of action providers by action type, see [Valid Action Types and
664
+ # Providers in CodePipeline][1].
665
+ #
666
+ #
667
+ #
668
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#actions-valid-providers
500
669
  # @return [String]
501
670
  #
502
671
  # @!attribute [rw] version
@@ -614,6 +783,25 @@ module Aws::CodePipeline
614
783
  include Aws::Structure
615
784
  end
616
785
 
786
+ # Artifact details for the action execution, such as the artifact
787
+ # location.
788
+ #
789
+ # @!attribute [rw] name
790
+ # The artifact object name for the action execution.
791
+ # @return [String]
792
+ #
793
+ # @!attribute [rw] s3location
794
+ # The Amazon S3 artifact location for the action execution.
795
+ # @return [Types::S3Location]
796
+ #
797
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactDetail AWS API Documentation
798
+ #
799
+ class ArtifactDetail < Struct.new(
800
+ :name,
801
+ :s3location)
802
+ include Aws::Structure
803
+ end
804
+
617
805
  # Returns information about the details of an artifact.
618
806
  #
619
807
  # @note When making an API call, you may pass ArtifactDetails
@@ -846,7 +1034,7 @@ module Aws::CodePipeline
846
1034
  #
847
1035
  #
848
1036
  #
849
- # [1]: http://docs.aws.amazon.com/codepipeline/latest/userguide/how-to-create-custom-action.html
1037
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/how-to-create-custom-action.html
850
1038
  # @return [Array<Types::ActionConfigurationProperty>]
851
1039
  #
852
1040
  # @!attribute [rw] input_artifact_details
@@ -1683,6 +1871,71 @@ module Aws::CodePipeline
1683
1871
  include Aws::Structure
1684
1872
  end
1685
1873
 
1874
+ # @note When making an API call, you may pass ListActionExecutionsInput
1875
+ # data as a hash:
1876
+ #
1877
+ # {
1878
+ # pipeline_name: "PipelineName", # required
1879
+ # filter: {
1880
+ # pipeline_execution_id: "PipelineExecutionId",
1881
+ # },
1882
+ # max_results: 1,
1883
+ # next_token: "NextToken",
1884
+ # }
1885
+ #
1886
+ # @!attribute [rw] pipeline_name
1887
+ # The name of the pipeline for which you want to list action execution
1888
+ # history.
1889
+ # @return [String]
1890
+ #
1891
+ # @!attribute [rw] filter
1892
+ # Input information used to filter action execution history.
1893
+ # @return [Types::ActionExecutionFilter]
1894
+ #
1895
+ # @!attribute [rw] max_results
1896
+ # The maximum number of results to return in a single call. To
1897
+ # retrieve the remaining results, make another call with the returned
1898
+ # nextToken value. The action execution history is limited to the most
1899
+ # recent 12 months, based on action execution start times. Default
1900
+ # value is 100.
1901
+ # @return [Integer]
1902
+ #
1903
+ # @!attribute [rw] next_token
1904
+ # The token that was returned from the previous ListActionExecutions
1905
+ # call, which can be used to return the next set of action executions
1906
+ # in the list.
1907
+ # @return [String]
1908
+ #
1909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionExecutionsInput AWS API Documentation
1910
+ #
1911
+ class ListActionExecutionsInput < Struct.new(
1912
+ :pipeline_name,
1913
+ :filter,
1914
+ :max_results,
1915
+ :next_token)
1916
+ include Aws::Structure
1917
+ end
1918
+
1919
+ # @!attribute [rw] action_execution_details
1920
+ # The details for a list of recent executions, such as action
1921
+ # execution ID.
1922
+ # @return [Array<Types::ActionExecutionDetail>]
1923
+ #
1924
+ # @!attribute [rw] next_token
1925
+ # If the amount of returned information is significantly large, an
1926
+ # identifier is also returned and can be used in a subsequent
1927
+ # ListActionExecutions call to return the next set of action
1928
+ # executions in the list.
1929
+ # @return [String]
1930
+ #
1931
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionExecutionsOutput AWS API Documentation
1932
+ #
1933
+ class ListActionExecutionsOutput < Struct.new(
1934
+ :action_execution_details,
1935
+ :next_token)
1936
+ include Aws::Structure
1937
+ end
1938
+
1686
1939
  # Represents the input of a ListActionTypes action.
1687
1940
  #
1688
1941
  # @note When making an API call, you may pass ListActionTypesInput
@@ -2797,6 +3050,24 @@ module Aws::CodePipeline
2797
3050
  include Aws::Structure
2798
3051
  end
2799
3052
 
3053
+ # The Amazon S3 artifact location for an action's artifacts.
3054
+ #
3055
+ # @!attribute [rw] bucket
3056
+ # The Amazon S3 artifact bucket for an action's artifacts.
3057
+ # @return [String]
3058
+ #
3059
+ # @!attribute [rw] key
3060
+ # The artifact name.
3061
+ # @return [String]
3062
+ #
3063
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/S3Location AWS API Documentation
3064
+ #
3065
+ class S3Location < Struct.new(
3066
+ :bucket,
3067
+ :key)
3068
+ include Aws::Structure
3069
+ end
3070
+
2800
3071
  # Information about the version (or revision) of a source artifact that
2801
3072
  # initiated a pipeline execution.
2802
3073
  #
@@ -3375,7 +3646,7 @@ module Aws::CodePipeline
3375
3646
  #
3376
3647
  #
3377
3648
  #
3378
- # [1]: http://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements
3649
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements
3379
3650
  # @return [String]
3380
3651
  #
3381
3652
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/WebhookFilterRule AWS API Documentation
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.13.0
4
+ version: 1.14.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: 2019-03-18 00:00:00.000000000 Z
11
+ date: 2019-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core