| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodePipeline.DeleteCustomActionType
Description
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.
Constructors
| DeleteCustomActionType' | |
Instances
newDeleteCustomActionType Source #
Arguments
| :: 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:
DeleteCustomActionType, deleteCustomActionType_category - The category of the custom action that you want to delete, such as
source or deploy.
DeleteCustomActionType, deleteCustomActionType_provider - The provider of the service used in the custom action, such as AWS
CodeDeploy.
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.
Constructors
| DeleteCustomActionTypeResponse' | |
Instances
| Generic DeleteCustomActionTypeResponse Source # | |
Defined in Amazonka.CodePipeline.DeleteCustomActionType Associated Types type Rep DeleteCustomActionTypeResponse :: Type -> Type # | |
| Read DeleteCustomActionTypeResponse Source # | |
| Show DeleteCustomActionTypeResponse Source # | |
Defined in Amazonka.CodePipeline.DeleteCustomActionType Methods showsPrec :: Int -> DeleteCustomActionTypeResponse -> ShowS # show :: DeleteCustomActionTypeResponse -> String # showList :: [DeleteCustomActionTypeResponse] -> ShowS # | |
| NFData DeleteCustomActionTypeResponse Source # | |
Defined in Amazonka.CodePipeline.DeleteCustomActionType Methods rnf :: DeleteCustomActionTypeResponse -> () # | |
| Eq DeleteCustomActionTypeResponse Source # | |
| type Rep DeleteCustomActionTypeResponse Source # | |
Defined in Amazonka.CodePipeline.DeleteCustomActionType | |
newDeleteCustomActionTypeResponse :: DeleteCustomActionTypeResponse Source #
Create a value of DeleteCustomActionTypeResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.