Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Marks a custom action as deleted. PollForJobs
for the custom action
fails after the action is marked for deletion. Used for custom actions
only.
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.
Synopsis
- data DeleteCustomActionType = DeleteCustomActionType' {}
- newDeleteCustomActionType :: ActionCategory -> Text -> Text -> DeleteCustomActionType
- deleteCustomActionType_category :: Lens' DeleteCustomActionType ActionCategory
- deleteCustomActionType_provider :: Lens' DeleteCustomActionType Text
- deleteCustomActionType_version :: Lens' DeleteCustomActionType Text
- data DeleteCustomActionTypeResponse = DeleteCustomActionTypeResponse' {
- newDeleteCustomActionTypeResponse :: DeleteCustomActionTypeResponse
Creating a Request
data DeleteCustomActionType Source #
Represents the input of a DeleteCustomActionType
operation. The custom
action will be marked as deleted.
See: newDeleteCustomActionType
smart constructor.
Instances
newDeleteCustomActionType Source #
:: ActionCategory | |
-> Text | |
-> Text | |
-> DeleteCustomActionType |
Create a value of DeleteCustomActionType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:category:DeleteCustomActionType'
, deleteCustomActionType_category
- The category of the custom action that you want to delete, such as
source or deploy.
$sel:provider:DeleteCustomActionType'
, deleteCustomActionType_provider
- The provider of the service used in the custom action, such as AWS
CodeDeploy.
$sel:version:DeleteCustomActionType'
, deleteCustomActionType_version
- The version of the custom action to delete.
Request Lenses
deleteCustomActionType_category :: Lens' DeleteCustomActionType ActionCategory Source #
The category of the custom action that you want to delete, such as source or deploy.
deleteCustomActionType_provider :: Lens' DeleteCustomActionType Text Source #
The provider of the service used in the custom action, such as AWS CodeDeploy.
deleteCustomActionType_version :: Lens' DeleteCustomActionType Text Source #
The version of the custom action to delete.
Destructuring the Response
data DeleteCustomActionTypeResponse Source #
See: newDeleteCustomActionTypeResponse
smart constructor.
Instances
newDeleteCustomActionTypeResponse :: DeleteCustomActionTypeResponse Source #
Create a value of DeleteCustomActionTypeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.