amazonka-codepipeline-2.0: Amazon CodePipeline SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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' 

Fields

  • category :: ActionCategory

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

  • provider :: Text

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

  • version :: Text

    The version of the custom action to delete.

Instances

Instances details
ToJSON DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

ToHeaders DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

ToPath DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

ToQuery DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

AWSRequest DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

Associated Types

type AWSResponse DeleteCustomActionType #

Generic DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

Associated Types

type Rep DeleteCustomActionType :: Type -> Type #

Read DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

Show DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

NFData DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

Methods

rnf :: DeleteCustomActionType -> () #

Eq DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

Hashable DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

type AWSResponse DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

type Rep DeleteCustomActionType Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

type Rep DeleteCustomActionType = D1 ('MetaData "DeleteCustomActionType" "Amazonka.CodePipeline.DeleteCustomActionType" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "DeleteCustomActionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "category") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionCategory) :*: (S1 ('MetaSel ('Just "provider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteCustomActionType Source #

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.

Instances

Instances details
Generic DeleteCustomActionTypeResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

Associated Types

type Rep DeleteCustomActionTypeResponse :: Type -> Type #

Read DeleteCustomActionTypeResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

Show DeleteCustomActionTypeResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

NFData DeleteCustomActionTypeResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

Eq DeleteCustomActionTypeResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

type Rep DeleteCustomActionTypeResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteCustomActionType

type Rep DeleteCustomActionTypeResponse = D1 ('MetaData "DeleteCustomActionTypeResponse" "Amazonka.CodePipeline.DeleteCustomActionType" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "DeleteCustomActionTypeResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteCustomActionTypeResponse :: DeleteCustomActionTypeResponse Source #

Create a value of DeleteCustomActionTypeResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.