CodePipeline / Client / list_deploy_action_execution_targets
list_deploy_action_execution_targets¶
- CodePipeline.Client.list_deploy_action_execution_targets(**kwargs)¶
Lists the targets for the deploy action.
See also: AWS API Documentation
Request Syntax
response = client.list_deploy_action_execution_targets( pipelineName='string', actionExecutionId='string', filters=[ { 'name': 'TARGET_STATUS', 'values': [ 'string', ] }, ], maxResults=123, nextToken='string' )
- Parameters:
pipelineName (string) – The name of the pipeline with the deploy action.
actionExecutionId (string) –
[REQUIRED]
The execution ID for the deploy action.
filters (list) –
Filters the targets for a specified deploy action.
(dict) –
Filters the list of targets.
name (string) –
The name on which to filter.
values (list) –
The values on which to filter.
(string) –
maxResults (integer) – The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.
nextToken (string) – An identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list.
- Return type:
dict
- Returns:
Response Syntax
{ 'targets': [ { 'targetId': 'string', 'targetType': 'string', 'status': 'string', 'startTime': datetime(2015, 1, 1), 'endTime': datetime(2015, 1, 1), 'events': [ { 'name': 'string', 'status': 'string', 'startTime': datetime(2015, 1, 1), 'endTime': datetime(2015, 1, 1), 'context': { 'ssmCommandId': 'string', 'message': 'string' } }, ] }, ], 'nextToken': 'string' }
Response Structure
(dict) –
targets (list) –
The targets for the deploy action.
(dict) –
The target for the deploy action.
targetId (string) –
The ID of the target for the deploy action.
targetType (string) –
The type of target for the deploy action.
status (string) –
The status of the deploy action.
startTime (datetime) –
The start time for the deploy action.
endTime (datetime) –
The end time for the deploy action.
events (list) –
The lifecycle events for the deploy action.
(dict) –
A lifecycle event for the deploy action.
name (string) –
The name of the event for the deploy action.
status (string) –
The status of the event for the deploy action.
startTime (datetime) –
The start time for the event for the deploy action.
endTime (datetime) –
The end time for the event for the deploy action.
context (dict) –
The context for the event for the deploy action.
ssmCommandId (string) –
The command ID for the event for the deploy action.
message (string) –
The context message for the event for the deploy action.
nextToken (string) –
An identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list.
Exceptions
CodePipeline.Client.exceptions.ValidationException
CodePipeline.Client.exceptions.PipelineNotFoundException
CodePipeline.Client.exceptions.InvalidNextTokenException
CodePipeline.Client.exceptions.ActionExecutionNotFoundException