CodePipeline / Client / delete_custom_action_type

delete_custom_action_type#

CodePipeline.Client.delete_custom_action_type(**kwargs)#

Marks a custom action as deleted. PollForJobs for the custom action fails after the action is marked for deletion. Used for custom actions only.

Warning

To re-create a custom action after it has been deleted you must use a string in the version field that has never been used before. This string can be an incremented version number, for example. To restore a deleted custom action, use a JSON file that is identical to the deleted action, including the original string in the version field.

See also: AWS API Documentation

Request Syntax

response = client.delete_custom_action_type(
    category='Source'|'Build'|'Deploy'|'Test'|'Invoke'|'Approval'|'Compute',
    provider='string',
    version='string'
)
Parameters:
  • category (string) –

    [REQUIRED]

    The category of the custom action that you want to delete, such as source or deploy.

  • provider (string) –

    [REQUIRED]

    The provider of the service used in the custom action, such as CodeDeploy.

  • version (string) –

    [REQUIRED]

    The version of the custom action to delete.

Returns:

None

Exceptions

  • CodePipeline.Client.exceptions.ValidationException

  • CodePipeline.Client.exceptions.ConcurrentModificationException