aws-sdk-codepipeline 1.99.0 → 1.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codepipeline/client.rb +70 -1
- data/lib/aws-sdk-codepipeline/client_api.rb +76 -0
- data/lib/aws-sdk-codepipeline/errors.rb +16 -0
- data/lib/aws-sdk-codepipeline/types.rb +179 -0
- data/lib/aws-sdk-codepipeline.rb +1 -1
- data/sig/client.rbs +20 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +51 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f64a0996028766a018c62d03e3660a69e24c5af264275bb314a62a4465b5e22
|
4
|
+
data.tar.gz: df4db2a119ed05b2a49fdf7e55f13fa8db9edc12488313eeb775fc333f59ddcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbb59d15bbba930a92bc2ef642582245d9c79ea59391f1be4c844359d72221aae775b7488908d362093d74dfdfc0fc279e7c724745def7fec377432a338d17cb
|
7
|
+
data.tar.gz: 2f61352166e318e1ad4bcf73bd504aeaa5b96d0b16e34daf2d5c3cda3c10d35153b01afca1c8224c89c16517598c48e3aead1007407593aeccbb55d7eb2fb802
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.100.0 (2025-05-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - CodePipeline now supports new API ListDeployActionExecutionTargets that lists the deployment target details for deploy action executions.
|
8
|
+
|
4
9
|
1.99.0 (2025-05-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.100.0
|
@@ -2015,6 +2015,75 @@ module Aws::CodePipeline
|
|
2015
2015
|
req.send_request(options)
|
2016
2016
|
end
|
2017
2017
|
|
2018
|
+
# Lists the targets for the deploy action.
|
2019
|
+
#
|
2020
|
+
# @option params [String] :pipeline_name
|
2021
|
+
# The name of the pipeline with the deploy action.
|
2022
|
+
#
|
2023
|
+
# @option params [required, String] :action_execution_id
|
2024
|
+
# The execution ID for the deploy action.
|
2025
|
+
#
|
2026
|
+
# @option params [Array<Types::TargetFilter>] :filters
|
2027
|
+
# Filters the targets for a specified deploy action.
|
2028
|
+
#
|
2029
|
+
# @option params [Integer] :max_results
|
2030
|
+
# The maximum number of results to return in a single call. To retrieve
|
2031
|
+
# the remaining results, make another call with the returned nextToken
|
2032
|
+
# value.
|
2033
|
+
#
|
2034
|
+
# @option params [String] :next_token
|
2035
|
+
# An identifier that was returned from the previous list action types
|
2036
|
+
# call, which can be used to return the next set of action types in the
|
2037
|
+
# list.
|
2038
|
+
#
|
2039
|
+
# @return [Types::ListDeployActionExecutionTargetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2040
|
+
#
|
2041
|
+
# * {Types::ListDeployActionExecutionTargetsOutput#targets #targets} => Array<Types::DeployActionExecutionTarget>
|
2042
|
+
# * {Types::ListDeployActionExecutionTargetsOutput#next_token #next_token} => String
|
2043
|
+
#
|
2044
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2045
|
+
#
|
2046
|
+
# @example Request syntax with placeholder values
|
2047
|
+
#
|
2048
|
+
# resp = client.list_deploy_action_execution_targets({
|
2049
|
+
# pipeline_name: "PipelineName",
|
2050
|
+
# action_execution_id: "ActionExecutionId", # required
|
2051
|
+
# filters: [
|
2052
|
+
# {
|
2053
|
+
# name: "TARGET_STATUS", # accepts TARGET_STATUS
|
2054
|
+
# values: ["TargetFilterValue"],
|
2055
|
+
# },
|
2056
|
+
# ],
|
2057
|
+
# max_results: 1,
|
2058
|
+
# next_token: "NextToken",
|
2059
|
+
# })
|
2060
|
+
#
|
2061
|
+
# @example Response structure
|
2062
|
+
#
|
2063
|
+
# resp.targets #=> Array
|
2064
|
+
# resp.targets[0].target_id #=> String
|
2065
|
+
# resp.targets[0].target_type #=> String
|
2066
|
+
# resp.targets[0].status #=> String
|
2067
|
+
# resp.targets[0].start_time #=> Time
|
2068
|
+
# resp.targets[0].end_time #=> Time
|
2069
|
+
# resp.targets[0].events #=> Array
|
2070
|
+
# resp.targets[0].events[0].name #=> String
|
2071
|
+
# resp.targets[0].events[0].status #=> String
|
2072
|
+
# resp.targets[0].events[0].start_time #=> Time
|
2073
|
+
# resp.targets[0].events[0].end_time #=> Time
|
2074
|
+
# resp.targets[0].events[0].context.ssm_command_id #=> String
|
2075
|
+
# resp.targets[0].events[0].context.message #=> String
|
2076
|
+
# resp.next_token #=> String
|
2077
|
+
#
|
2078
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListDeployActionExecutionTargets AWS API Documentation
|
2079
|
+
#
|
2080
|
+
# @overload list_deploy_action_execution_targets(params = {})
|
2081
|
+
# @param [Hash] params ({})
|
2082
|
+
def list_deploy_action_execution_targets(params = {}, options = {})
|
2083
|
+
req = build_request(:list_deploy_action_execution_targets, params)
|
2084
|
+
req.send_request(options)
|
2085
|
+
end
|
2086
|
+
|
2018
2087
|
# Gets a summary of the most recent executions for a pipeline.
|
2019
2088
|
#
|
2020
2089
|
# <note markdown="1"> When applying the filter for pipeline executions that have succeeded
|
@@ -3698,7 +3767,7 @@ module Aws::CodePipeline
|
|
3698
3767
|
tracer: tracer
|
3699
3768
|
)
|
3700
3769
|
context[:gem_name] = 'aws-sdk-codepipeline'
|
3701
|
-
context[:gem_version] = '1.
|
3770
|
+
context[:gem_version] = '1.100.0'
|
3702
3771
|
Seahorse::Client::Request.new(handlers, context)
|
3703
3772
|
end
|
3704
3773
|
|
@@ -39,6 +39,7 @@ module Aws::CodePipeline
|
|
39
39
|
ActionExecutionFilter = Shapes::StructureShape.new(name: 'ActionExecutionFilter')
|
40
40
|
ActionExecutionId = Shapes::StringShape.new(name: 'ActionExecutionId')
|
41
41
|
ActionExecutionInput = Shapes::StructureShape.new(name: 'ActionExecutionInput')
|
42
|
+
ActionExecutionNotFoundException = Shapes::StructureShape.new(name: 'ActionExecutionNotFoundException')
|
42
43
|
ActionExecutionOutput = Shapes::StructureShape.new(name: 'ActionExecutionOutput')
|
43
44
|
ActionExecutionResult = Shapes::StructureShape.new(name: 'ActionExecutionResult')
|
44
45
|
ActionExecutionStatus = Shapes::StringShape.new(name: 'ActionExecutionStatus')
|
@@ -122,6 +123,11 @@ module Aws::CodePipeline
|
|
122
123
|
DeletePipelineInput = Shapes::StructureShape.new(name: 'DeletePipelineInput')
|
123
124
|
DeleteWebhookInput = Shapes::StructureShape.new(name: 'DeleteWebhookInput')
|
124
125
|
DeleteWebhookOutput = Shapes::StructureShape.new(name: 'DeleteWebhookOutput')
|
126
|
+
DeployActionExecutionTarget = Shapes::StructureShape.new(name: 'DeployActionExecutionTarget')
|
127
|
+
DeployActionExecutionTargetList = Shapes::ListShape.new(name: 'DeployActionExecutionTargetList')
|
128
|
+
DeployTargetEvent = Shapes::StructureShape.new(name: 'DeployTargetEvent')
|
129
|
+
DeployTargetEventContext = Shapes::StructureShape.new(name: 'DeployTargetEventContext')
|
130
|
+
DeployTargetEventList = Shapes::ListShape.new(name: 'DeployTargetEventList')
|
125
131
|
DeregisterWebhookWithThirdPartyInput = Shapes::StructureShape.new(name: 'DeregisterWebhookWithThirdPartyInput')
|
126
132
|
DeregisterWebhookWithThirdPartyOutput = Shapes::StructureShape.new(name: 'DeregisterWebhookWithThirdPartyOutput')
|
127
133
|
Description = Shapes::StringShape.new(name: 'Description')
|
@@ -219,6 +225,8 @@ module Aws::CodePipeline
|
|
219
225
|
ListActionExecutionsOutput = Shapes::StructureShape.new(name: 'ListActionExecutionsOutput')
|
220
226
|
ListActionTypesInput = Shapes::StructureShape.new(name: 'ListActionTypesInput')
|
221
227
|
ListActionTypesOutput = Shapes::StructureShape.new(name: 'ListActionTypesOutput')
|
228
|
+
ListDeployActionExecutionTargetsInput = Shapes::StructureShape.new(name: 'ListDeployActionExecutionTargetsInput')
|
229
|
+
ListDeployActionExecutionTargetsOutput = Shapes::StructureShape.new(name: 'ListDeployActionExecutionTargetsOutput')
|
222
230
|
ListPipelineExecutionsInput = Shapes::StructureShape.new(name: 'ListPipelineExecutionsInput')
|
223
231
|
ListPipelineExecutionsOutput = Shapes::StructureShape.new(name: 'ListPipelineExecutionsOutput')
|
224
232
|
ListPipelinesInput = Shapes::StructureShape.new(name: 'ListPipelinesInput')
|
@@ -407,6 +415,11 @@ module Aws::CodePipeline
|
|
407
415
|
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
408
416
|
TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
|
409
417
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
418
|
+
TargetFilter = Shapes::StructureShape.new(name: 'TargetFilter')
|
419
|
+
TargetFilterList = Shapes::ListShape.new(name: 'TargetFilterList')
|
420
|
+
TargetFilterName = Shapes::StringShape.new(name: 'TargetFilterName')
|
421
|
+
TargetFilterValue = Shapes::StringShape.new(name: 'TargetFilterValue')
|
422
|
+
TargetFilterValueList = Shapes::ListShape.new(name: 'TargetFilterValueList')
|
410
423
|
ThirdPartyJob = Shapes::StructureShape.new(name: 'ThirdPartyJob')
|
411
424
|
ThirdPartyJobData = Shapes::StructureShape.new(name: 'ThirdPartyJobData')
|
412
425
|
ThirdPartyJobDetails = Shapes::StructureShape.new(name: 'ThirdPartyJobDetails')
|
@@ -541,6 +554,9 @@ module Aws::CodePipeline
|
|
541
554
|
ActionExecutionInput.add_member(:namespace, Shapes::ShapeRef.new(shape: ActionNamespace, location_name: "namespace"))
|
542
555
|
ActionExecutionInput.struct_class = Types::ActionExecutionInput
|
543
556
|
|
557
|
+
ActionExecutionNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
558
|
+
ActionExecutionNotFoundException.struct_class = Types::ActionExecutionNotFoundException
|
559
|
+
|
544
560
|
ActionExecutionOutput.add_member(:output_artifacts, Shapes::ShapeRef.new(shape: ArtifactDetailList, location_name: "outputArtifacts"))
|
545
561
|
ActionExecutionOutput.add_member(:execution_result, Shapes::ShapeRef.new(shape: ActionExecutionResult, location_name: "executionResult"))
|
546
562
|
ActionExecutionOutput.add_member(:output_variables, Shapes::ShapeRef.new(shape: OutputVariablesMap, location_name: "outputVariables"))
|
@@ -765,6 +781,29 @@ module Aws::CodePipeline
|
|
765
781
|
|
766
782
|
DeleteWebhookOutput.struct_class = Types::DeleteWebhookOutput
|
767
783
|
|
784
|
+
DeployActionExecutionTarget.add_member(:target_id, Shapes::ShapeRef.new(shape: String, location_name: "targetId"))
|
785
|
+
DeployActionExecutionTarget.add_member(:target_type, Shapes::ShapeRef.new(shape: String, location_name: "targetType"))
|
786
|
+
DeployActionExecutionTarget.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
787
|
+
DeployActionExecutionTarget.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
|
788
|
+
DeployActionExecutionTarget.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
789
|
+
DeployActionExecutionTarget.add_member(:events, Shapes::ShapeRef.new(shape: DeployTargetEventList, location_name: "events"))
|
790
|
+
DeployActionExecutionTarget.struct_class = Types::DeployActionExecutionTarget
|
791
|
+
|
792
|
+
DeployActionExecutionTargetList.member = Shapes::ShapeRef.new(shape: DeployActionExecutionTarget)
|
793
|
+
|
794
|
+
DeployTargetEvent.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
795
|
+
DeployTargetEvent.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
796
|
+
DeployTargetEvent.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
|
797
|
+
DeployTargetEvent.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
798
|
+
DeployTargetEvent.add_member(:context, Shapes::ShapeRef.new(shape: DeployTargetEventContext, location_name: "context"))
|
799
|
+
DeployTargetEvent.struct_class = Types::DeployTargetEvent
|
800
|
+
|
801
|
+
DeployTargetEventContext.add_member(:ssm_command_id, Shapes::ShapeRef.new(shape: String, location_name: "ssmCommandId"))
|
802
|
+
DeployTargetEventContext.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
803
|
+
DeployTargetEventContext.struct_class = Types::DeployTargetEventContext
|
804
|
+
|
805
|
+
DeployTargetEventList.member = Shapes::ShapeRef.new(shape: DeployTargetEvent)
|
806
|
+
|
768
807
|
DeregisterWebhookWithThirdPartyInput.add_member(:webhook_name, Shapes::ShapeRef.new(shape: WebhookName, location_name: "webhookName"))
|
769
808
|
DeregisterWebhookWithThirdPartyInput.struct_class = Types::DeregisterWebhookWithThirdPartyInput
|
770
809
|
|
@@ -1002,6 +1041,17 @@ module Aws::CodePipeline
|
|
1002
1041
|
ListActionTypesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1003
1042
|
ListActionTypesOutput.struct_class = Types::ListActionTypesOutput
|
1004
1043
|
|
1044
|
+
ListDeployActionExecutionTargetsInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "pipelineName"))
|
1045
|
+
ListDeployActionExecutionTargetsInput.add_member(:action_execution_id, Shapes::ShapeRef.new(shape: ActionExecutionId, required: true, location_name: "actionExecutionId"))
|
1046
|
+
ListDeployActionExecutionTargetsInput.add_member(:filters, Shapes::ShapeRef.new(shape: TargetFilterList, location_name: "filters"))
|
1047
|
+
ListDeployActionExecutionTargetsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1048
|
+
ListDeployActionExecutionTargetsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1049
|
+
ListDeployActionExecutionTargetsInput.struct_class = Types::ListDeployActionExecutionTargetsInput
|
1050
|
+
|
1051
|
+
ListDeployActionExecutionTargetsOutput.add_member(:targets, Shapes::ShapeRef.new(shape: DeployActionExecutionTargetList, location_name: "targets"))
|
1052
|
+
ListDeployActionExecutionTargetsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1053
|
+
ListDeployActionExecutionTargetsOutput.struct_class = Types::ListDeployActionExecutionTargetsOutput
|
1054
|
+
|
1005
1055
|
ListPipelineExecutionsInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
|
1006
1056
|
ListPipelineExecutionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1007
1057
|
ListPipelineExecutionsInput.add_member(:filter, Shapes::ShapeRef.new(shape: PipelineExecutionFilter, location_name: "filter"))
|
@@ -1527,6 +1577,14 @@ module Aws::CodePipeline
|
|
1527
1577
|
|
1528
1578
|
TagResourceOutput.struct_class = Types::TagResourceOutput
|
1529
1579
|
|
1580
|
+
TargetFilter.add_member(:name, Shapes::ShapeRef.new(shape: TargetFilterName, location_name: "name"))
|
1581
|
+
TargetFilter.add_member(:values, Shapes::ShapeRef.new(shape: TargetFilterValueList, location_name: "values"))
|
1582
|
+
TargetFilter.struct_class = Types::TargetFilter
|
1583
|
+
|
1584
|
+
TargetFilterList.member = Shapes::ShapeRef.new(shape: TargetFilter)
|
1585
|
+
|
1586
|
+
TargetFilterValueList.member = Shapes::ShapeRef.new(shape: TargetFilterValue)
|
1587
|
+
|
1530
1588
|
ThirdPartyJob.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "clientId"))
|
1531
1589
|
ThirdPartyJob.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
1532
1590
|
ThirdPartyJob.struct_class = Types::ThirdPartyJob
|
@@ -1833,6 +1891,24 @@ module Aws::CodePipeline
|
|
1833
1891
|
)
|
1834
1892
|
end)
|
1835
1893
|
|
1894
|
+
api.add_operation(:list_deploy_action_execution_targets, Seahorse::Model::Operation.new.tap do |o|
|
1895
|
+
o.name = "ListDeployActionExecutionTargets"
|
1896
|
+
o.http_method = "POST"
|
1897
|
+
o.http_request_uri = "/"
|
1898
|
+
o.input = Shapes::ShapeRef.new(shape: ListDeployActionExecutionTargetsInput)
|
1899
|
+
o.output = Shapes::ShapeRef.new(shape: ListDeployActionExecutionTargetsOutput)
|
1900
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1901
|
+
o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
|
1902
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1903
|
+
o.errors << Shapes::ShapeRef.new(shape: ActionExecutionNotFoundException)
|
1904
|
+
o[:pager] = Aws::Pager.new(
|
1905
|
+
limit_key: "max_results",
|
1906
|
+
tokens: {
|
1907
|
+
"next_token" => "next_token"
|
1908
|
+
}
|
1909
|
+
)
|
1910
|
+
end)
|
1911
|
+
|
1836
1912
|
api.add_operation(:list_pipeline_executions, Seahorse::Model::Operation.new.tap do |o|
|
1837
1913
|
o.name = "ListPipelineExecutions"
|
1838
1914
|
o.http_method = "POST"
|
@@ -27,6 +27,7 @@ module Aws::CodePipeline
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {ActionExecutionNotFoundException}
|
30
31
|
# * {ActionNotFoundException}
|
31
32
|
# * {ActionTypeAlreadyExistsException}
|
32
33
|
# * {ActionTypeNotFoundException}
|
@@ -75,6 +76,21 @@ module Aws::CodePipeline
|
|
75
76
|
|
76
77
|
extend Aws::Errors::DynamicErrors
|
77
78
|
|
79
|
+
class ActionExecutionNotFoundException < ServiceError
|
80
|
+
|
81
|
+
# @param [Seahorse::Client::RequestContext] context
|
82
|
+
# @param [String] message
|
83
|
+
# @param [Aws::CodePipeline::Types::ActionExecutionNotFoundException] data
|
84
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
85
|
+
super(context, message, data)
|
86
|
+
end
|
87
|
+
|
88
|
+
# @return [String]
|
89
|
+
def message
|
90
|
+
@message || @data[:message]
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
78
94
|
class ActionNotFoundException < ServiceError
|
79
95
|
|
80
96
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -547,6 +547,19 @@ module Aws::CodePipeline
|
|
547
547
|
include Aws::Structure
|
548
548
|
end
|
549
549
|
|
550
|
+
# The action execution was not found.
|
551
|
+
#
|
552
|
+
# @!attribute [rw] message
|
553
|
+
# @return [String]
|
554
|
+
#
|
555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecutionNotFoundException AWS API Documentation
|
556
|
+
#
|
557
|
+
class ActionExecutionNotFoundException < Struct.new(
|
558
|
+
:message)
|
559
|
+
SENSITIVE = []
|
560
|
+
include Aws::Structure
|
561
|
+
end
|
562
|
+
|
550
563
|
# Output details listed for an action execution, such as the action
|
551
564
|
# execution result.
|
552
565
|
#
|
@@ -1678,6 +1691,98 @@ module Aws::CodePipeline
|
|
1678
1691
|
#
|
1679
1692
|
class DeleteWebhookOutput < Aws::EmptyStructure; end
|
1680
1693
|
|
1694
|
+
# The target for the deploy action.
|
1695
|
+
#
|
1696
|
+
# @!attribute [rw] target_id
|
1697
|
+
# The ID of the target for the deploy action.
|
1698
|
+
# @return [String]
|
1699
|
+
#
|
1700
|
+
# @!attribute [rw] target_type
|
1701
|
+
# The type of target for the deploy action.
|
1702
|
+
# @return [String]
|
1703
|
+
#
|
1704
|
+
# @!attribute [rw] status
|
1705
|
+
# The status of the deploy action.
|
1706
|
+
# @return [String]
|
1707
|
+
#
|
1708
|
+
# @!attribute [rw] start_time
|
1709
|
+
# The start time for the deploy action.
|
1710
|
+
# @return [Time]
|
1711
|
+
#
|
1712
|
+
# @!attribute [rw] end_time
|
1713
|
+
# The end time for the deploy action.
|
1714
|
+
# @return [Time]
|
1715
|
+
#
|
1716
|
+
# @!attribute [rw] events
|
1717
|
+
# The lifecycle events for the deploy action.
|
1718
|
+
# @return [Array<Types::DeployTargetEvent>]
|
1719
|
+
#
|
1720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeployActionExecutionTarget AWS API Documentation
|
1721
|
+
#
|
1722
|
+
class DeployActionExecutionTarget < Struct.new(
|
1723
|
+
:target_id,
|
1724
|
+
:target_type,
|
1725
|
+
:status,
|
1726
|
+
:start_time,
|
1727
|
+
:end_time,
|
1728
|
+
:events)
|
1729
|
+
SENSITIVE = []
|
1730
|
+
include Aws::Structure
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
# A lifecycle event for the deploy action.
|
1734
|
+
#
|
1735
|
+
# @!attribute [rw] name
|
1736
|
+
# The name of the event for the deploy action.
|
1737
|
+
# @return [String]
|
1738
|
+
#
|
1739
|
+
# @!attribute [rw] status
|
1740
|
+
# The status of the event for the deploy action.
|
1741
|
+
# @return [String]
|
1742
|
+
#
|
1743
|
+
# @!attribute [rw] start_time
|
1744
|
+
# The start time for the event for the deploy action.
|
1745
|
+
# @return [Time]
|
1746
|
+
#
|
1747
|
+
# @!attribute [rw] end_time
|
1748
|
+
# The end time for the event for the deploy action.
|
1749
|
+
# @return [Time]
|
1750
|
+
#
|
1751
|
+
# @!attribute [rw] context
|
1752
|
+
# The context for the event for the deploy action.
|
1753
|
+
# @return [Types::DeployTargetEventContext]
|
1754
|
+
#
|
1755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeployTargetEvent AWS API Documentation
|
1756
|
+
#
|
1757
|
+
class DeployTargetEvent < Struct.new(
|
1758
|
+
:name,
|
1759
|
+
:status,
|
1760
|
+
:start_time,
|
1761
|
+
:end_time,
|
1762
|
+
:context)
|
1763
|
+
SENSITIVE = []
|
1764
|
+
include Aws::Structure
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
# The context for the event for the deploy action.
|
1768
|
+
#
|
1769
|
+
# @!attribute [rw] ssm_command_id
|
1770
|
+
# The command ID for the event for the deploy action.
|
1771
|
+
# @return [String]
|
1772
|
+
#
|
1773
|
+
# @!attribute [rw] message
|
1774
|
+
# The context message for the event for the deploy action.
|
1775
|
+
# @return [String]
|
1776
|
+
#
|
1777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeployTargetEventContext AWS API Documentation
|
1778
|
+
#
|
1779
|
+
class DeployTargetEventContext < Struct.new(
|
1780
|
+
:ssm_command_id,
|
1781
|
+
:message)
|
1782
|
+
SENSITIVE = []
|
1783
|
+
include Aws::Structure
|
1784
|
+
end
|
1785
|
+
|
1681
1786
|
# @!attribute [rw] webhook_name
|
1682
1787
|
# The name of the webhook you want to deregister.
|
1683
1788
|
# @return [String]
|
@@ -2848,6 +2953,61 @@ module Aws::CodePipeline
|
|
2848
2953
|
include Aws::Structure
|
2849
2954
|
end
|
2850
2955
|
|
2956
|
+
# @!attribute [rw] pipeline_name
|
2957
|
+
# The name of the pipeline with the deploy action.
|
2958
|
+
# @return [String]
|
2959
|
+
#
|
2960
|
+
# @!attribute [rw] action_execution_id
|
2961
|
+
# The execution ID for the deploy action.
|
2962
|
+
# @return [String]
|
2963
|
+
#
|
2964
|
+
# @!attribute [rw] filters
|
2965
|
+
# Filters the targets for a specified deploy action.
|
2966
|
+
# @return [Array<Types::TargetFilter>]
|
2967
|
+
#
|
2968
|
+
# @!attribute [rw] max_results
|
2969
|
+
# The maximum number of results to return in a single call. To
|
2970
|
+
# retrieve the remaining results, make another call with the returned
|
2971
|
+
# nextToken value.
|
2972
|
+
# @return [Integer]
|
2973
|
+
#
|
2974
|
+
# @!attribute [rw] next_token
|
2975
|
+
# An identifier that was returned from the previous list action types
|
2976
|
+
# call, which can be used to return the next set of action types in
|
2977
|
+
# the list.
|
2978
|
+
# @return [String]
|
2979
|
+
#
|
2980
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListDeployActionExecutionTargetsInput AWS API Documentation
|
2981
|
+
#
|
2982
|
+
class ListDeployActionExecutionTargetsInput < Struct.new(
|
2983
|
+
:pipeline_name,
|
2984
|
+
:action_execution_id,
|
2985
|
+
:filters,
|
2986
|
+
:max_results,
|
2987
|
+
:next_token)
|
2988
|
+
SENSITIVE = []
|
2989
|
+
include Aws::Structure
|
2990
|
+
end
|
2991
|
+
|
2992
|
+
# @!attribute [rw] targets
|
2993
|
+
# The targets for the deploy action.
|
2994
|
+
# @return [Array<Types::DeployActionExecutionTarget>]
|
2995
|
+
#
|
2996
|
+
# @!attribute [rw] next_token
|
2997
|
+
# An identifier that was returned from the previous list action types
|
2998
|
+
# call, which can be used to return the next set of action types in
|
2999
|
+
# the list.
|
3000
|
+
# @return [String]
|
3001
|
+
#
|
3002
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListDeployActionExecutionTargetsOutput AWS API Documentation
|
3003
|
+
#
|
3004
|
+
class ListDeployActionExecutionTargetsOutput < Struct.new(
|
3005
|
+
:targets,
|
3006
|
+
:next_token)
|
3007
|
+
SENSITIVE = []
|
3008
|
+
include Aws::Structure
|
3009
|
+
end
|
3010
|
+
|
2851
3011
|
# Represents the input of a `ListPipelineExecutions` action.
|
2852
3012
|
#
|
2853
3013
|
# @!attribute [rw] pipeline_name
|
@@ -5473,6 +5633,25 @@ module Aws::CodePipeline
|
|
5473
5633
|
#
|
5474
5634
|
class TagResourceOutput < Aws::EmptyStructure; end
|
5475
5635
|
|
5636
|
+
# Filters the list of targets.
|
5637
|
+
#
|
5638
|
+
# @!attribute [rw] name
|
5639
|
+
# The name on which to filter.
|
5640
|
+
# @return [String]
|
5641
|
+
#
|
5642
|
+
# @!attribute [rw] values
|
5643
|
+
# The values on which to filter.
|
5644
|
+
# @return [Array<String>]
|
5645
|
+
#
|
5646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/TargetFilter AWS API Documentation
|
5647
|
+
#
|
5648
|
+
class TargetFilter < Struct.new(
|
5649
|
+
:name,
|
5650
|
+
:values)
|
5651
|
+
SENSITIVE = []
|
5652
|
+
include Aws::Structure
|
5653
|
+
end
|
5654
|
+
|
5476
5655
|
# A response to a `PollForThirdPartyJobs` request returned by
|
5477
5656
|
# CodePipeline when there is a job to be worked on by a partner action.
|
5478
5657
|
#
|
data/lib/aws-sdk-codepipeline.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -517,6 +517,26 @@ module Aws
|
|
517
517
|
) -> _ListActionTypesResponseSuccess
|
518
518
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActionTypesResponseSuccess
|
519
519
|
|
520
|
+
interface _ListDeployActionExecutionTargetsResponseSuccess
|
521
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDeployActionExecutionTargetsOutput]
|
522
|
+
def targets: () -> ::Array[Types::DeployActionExecutionTarget]
|
523
|
+
def next_token: () -> ::String
|
524
|
+
end
|
525
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_deploy_action_execution_targets-instance_method
|
526
|
+
def list_deploy_action_execution_targets: (
|
527
|
+
?pipeline_name: ::String,
|
528
|
+
action_execution_id: ::String,
|
529
|
+
?filters: Array[
|
530
|
+
{
|
531
|
+
name: ("TARGET_STATUS")?,
|
532
|
+
values: Array[::String]?
|
533
|
+
},
|
534
|
+
],
|
535
|
+
?max_results: ::Integer,
|
536
|
+
?next_token: ::String
|
537
|
+
) -> _ListDeployActionExecutionTargetsResponseSuccess
|
538
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeployActionExecutionTargetsResponseSuccess
|
539
|
+
|
520
540
|
interface _ListPipelineExecutionsResponseSuccess
|
521
541
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListPipelineExecutionsOutput]
|
522
542
|
def pipeline_execution_summaries: () -> ::Array[Types::PipelineExecutionSummary]
|
data/sig/errors.rbs
CHANGED
@@ -11,6 +11,9 @@ module Aws
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
12
12
|
end
|
13
13
|
|
14
|
+
class ActionExecutionNotFoundException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
14
17
|
class ActionNotFoundException < ::Aws::Errors::ServiceError
|
15
18
|
end
|
16
19
|
class ActionTypeAlreadyExistsException < ::Aws::Errors::ServiceError
|
data/sig/types.rbs
CHANGED
@@ -124,6 +124,11 @@ module Aws::CodePipeline
|
|
124
124
|
SENSITIVE: []
|
125
125
|
end
|
126
126
|
|
127
|
+
class ActionExecutionNotFoundException
|
128
|
+
attr_accessor message: ::String
|
129
|
+
SENSITIVE: []
|
130
|
+
end
|
131
|
+
|
127
132
|
class ActionExecutionOutput
|
128
133
|
attr_accessor output_artifacts: ::Array[Types::ArtifactDetail]
|
129
134
|
attr_accessor execution_result: Types::ActionExecutionResult
|
@@ -406,6 +411,31 @@ module Aws::CodePipeline
|
|
406
411
|
class DeleteWebhookOutput < Aws::EmptyStructure
|
407
412
|
end
|
408
413
|
|
414
|
+
class DeployActionExecutionTarget
|
415
|
+
attr_accessor target_id: ::String
|
416
|
+
attr_accessor target_type: ::String
|
417
|
+
attr_accessor status: ::String
|
418
|
+
attr_accessor start_time: ::Time
|
419
|
+
attr_accessor end_time: ::Time
|
420
|
+
attr_accessor events: ::Array[Types::DeployTargetEvent]
|
421
|
+
SENSITIVE: []
|
422
|
+
end
|
423
|
+
|
424
|
+
class DeployTargetEvent
|
425
|
+
attr_accessor name: ::String
|
426
|
+
attr_accessor status: ::String
|
427
|
+
attr_accessor start_time: ::Time
|
428
|
+
attr_accessor end_time: ::Time
|
429
|
+
attr_accessor context: Types::DeployTargetEventContext
|
430
|
+
SENSITIVE: []
|
431
|
+
end
|
432
|
+
|
433
|
+
class DeployTargetEventContext
|
434
|
+
attr_accessor ssm_command_id: ::String
|
435
|
+
attr_accessor message: ::String
|
436
|
+
SENSITIVE: []
|
437
|
+
end
|
438
|
+
|
409
439
|
class DeregisterWebhookWithThirdPartyInput
|
410
440
|
attr_accessor webhook_name: ::String
|
411
441
|
SENSITIVE: []
|
@@ -724,6 +754,21 @@ module Aws::CodePipeline
|
|
724
754
|
SENSITIVE: []
|
725
755
|
end
|
726
756
|
|
757
|
+
class ListDeployActionExecutionTargetsInput
|
758
|
+
attr_accessor pipeline_name: ::String
|
759
|
+
attr_accessor action_execution_id: ::String
|
760
|
+
attr_accessor filters: ::Array[Types::TargetFilter]
|
761
|
+
attr_accessor max_results: ::Integer
|
762
|
+
attr_accessor next_token: ::String
|
763
|
+
SENSITIVE: []
|
764
|
+
end
|
765
|
+
|
766
|
+
class ListDeployActionExecutionTargetsOutput
|
767
|
+
attr_accessor targets: ::Array[Types::DeployActionExecutionTarget]
|
768
|
+
attr_accessor next_token: ::String
|
769
|
+
SENSITIVE: []
|
770
|
+
end
|
771
|
+
|
727
772
|
class ListPipelineExecutionsInput
|
728
773
|
attr_accessor pipeline_name: ::String
|
729
774
|
attr_accessor max_results: ::Integer
|
@@ -1364,6 +1409,12 @@ module Aws::CodePipeline
|
|
1364
1409
|
class TagResourceOutput < Aws::EmptyStructure
|
1365
1410
|
end
|
1366
1411
|
|
1412
|
+
class TargetFilter
|
1413
|
+
attr_accessor name: ("TARGET_STATUS")
|
1414
|
+
attr_accessor values: ::Array[::String]
|
1415
|
+
SENSITIVE: []
|
1416
|
+
end
|
1417
|
+
|
1367
1418
|
class ThirdPartyJob
|
1368
1419
|
attr_accessor client_id: ::String
|
1369
1420
|
attr_accessor job_id: ::String
|