| 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.CreateCustomActionType
Description
Creates a new custom action that can be used in all pipelines associated with the AWS account. Only used for custom actions.
Synopsis
- data CreateCustomActionType = CreateCustomActionType' {}
- newCreateCustomActionType :: ActionCategory -> Text -> Text -> ArtifactDetails -> ArtifactDetails -> CreateCustomActionType
- createCustomActionType_configurationProperties :: Lens' CreateCustomActionType (Maybe [ActionConfigurationProperty])
- createCustomActionType_settings :: Lens' CreateCustomActionType (Maybe ActionTypeSettings)
- createCustomActionType_tags :: Lens' CreateCustomActionType (Maybe [Tag])
- createCustomActionType_category :: Lens' CreateCustomActionType ActionCategory
- createCustomActionType_provider :: Lens' CreateCustomActionType Text
- createCustomActionType_version :: Lens' CreateCustomActionType Text
- createCustomActionType_inputArtifactDetails :: Lens' CreateCustomActionType ArtifactDetails
- createCustomActionType_outputArtifactDetails :: Lens' CreateCustomActionType ArtifactDetails
- data CreateCustomActionTypeResponse = CreateCustomActionTypeResponse' {
- tags :: Maybe [Tag]
- httpStatus :: Int
- actionType :: ActionType
- newCreateCustomActionTypeResponse :: Int -> ActionType -> CreateCustomActionTypeResponse
- createCustomActionTypeResponse_tags :: Lens' CreateCustomActionTypeResponse (Maybe [Tag])
- createCustomActionTypeResponse_httpStatus :: Lens' CreateCustomActionTypeResponse Int
- createCustomActionTypeResponse_actionType :: Lens' CreateCustomActionTypeResponse ActionType
Creating a Request
data CreateCustomActionType Source #
Represents the input of a CreateCustomActionType operation.
See: newCreateCustomActionType smart constructor.
Constructors
| CreateCustomActionType' | |
Fields
| |
Instances
newCreateCustomActionType Source #
Arguments
| :: ActionCategory | |
| -> Text | |
| -> Text | |
| -> ArtifactDetails | |
| -> ArtifactDetails | |
| -> CreateCustomActionType |
Create a value of CreateCustomActionType 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:configurationProperties:CreateCustomActionType', createCustomActionType_configurationProperties - The configuration properties for the custom action.
You can refer to a name in the configuration properties of the custom action within the URL templates by following the format of {Config:name}, as long as the configuration property is both required and not secret. For more information, see Create a Custom Action for a Pipeline.
CreateCustomActionType, createCustomActionType_settings - URLs that provide users information about this custom action.
CreateCustomActionType, createCustomActionType_tags - The tags for the custom action.
CreateCustomActionType, createCustomActionType_category - The category of the custom action, such as a build action or a test
action.
CreateCustomActionType, createCustomActionType_provider - The provider of the service used in the custom action, such as AWS
CodeDeploy.
CreateCustomActionType, createCustomActionType_version - The version identifier of the custom action.
CreateCustomActionType, createCustomActionType_inputArtifactDetails - The details of the input artifact for the action, such as its commit ID.
CreateCustomActionType, createCustomActionType_outputArtifactDetails - The details of the output artifact of the action, such as its commit ID.
Request Lenses
createCustomActionType_configurationProperties :: Lens' CreateCustomActionType (Maybe [ActionConfigurationProperty]) Source #
The configuration properties for the custom action.
You can refer to a name in the configuration properties of the custom action within the URL templates by following the format of {Config:name}, as long as the configuration property is both required and not secret. For more information, see Create a Custom Action for a Pipeline.
createCustomActionType_settings :: Lens' CreateCustomActionType (Maybe ActionTypeSettings) Source #
URLs that provide users information about this custom action.
createCustomActionType_tags :: Lens' CreateCustomActionType (Maybe [Tag]) Source #
The tags for the custom action.
createCustomActionType_category :: Lens' CreateCustomActionType ActionCategory Source #
The category of the custom action, such as a build action or a test action.
createCustomActionType_provider :: Lens' CreateCustomActionType Text Source #
The provider of the service used in the custom action, such as AWS CodeDeploy.
createCustomActionType_version :: Lens' CreateCustomActionType Text Source #
The version identifier of the custom action.
createCustomActionType_inputArtifactDetails :: Lens' CreateCustomActionType ArtifactDetails Source #
The details of the input artifact for the action, such as its commit ID.
createCustomActionType_outputArtifactDetails :: Lens' CreateCustomActionType ArtifactDetails Source #
The details of the output artifact of the action, such as its commit ID.
Destructuring the Response
data CreateCustomActionTypeResponse Source #
Represents the output of a CreateCustomActionType operation.
See: newCreateCustomActionTypeResponse smart constructor.
Constructors
| CreateCustomActionTypeResponse' | |
Fields
| |
Instances
newCreateCustomActionTypeResponse Source #
Arguments
| :: Int | |
| -> ActionType | |
| -> CreateCustomActionTypeResponse |
Create a value of CreateCustomActionTypeResponse 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:
CreateCustomActionType, createCustomActionTypeResponse_tags - Specifies the tags applied to the custom action.
$sel:httpStatus:CreateCustomActionTypeResponse', createCustomActionTypeResponse_httpStatus - The response's http status code.
$sel:actionType:CreateCustomActionTypeResponse', createCustomActionTypeResponse_actionType - Returns information about the details of an action type.
Response Lenses
createCustomActionTypeResponse_tags :: Lens' CreateCustomActionTypeResponse (Maybe [Tag]) Source #
Specifies the tags applied to the custom action.
createCustomActionTypeResponse_httpStatus :: Lens' CreateCustomActionTypeResponse Int Source #
The response's http status code.
createCustomActionTypeResponse_actionType :: Lens' CreateCustomActionTypeResponse ActionType Source #
Returns information about the details of an action type.