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 |
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_settings :: Lens' CreateCustomActionType (Maybe ActionTypeSettings)
- createCustomActionType_configurationProperties :: Lens' CreateCustomActionType (Maybe [ActionConfigurationProperty])
- 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.
CreateCustomActionType' | |
|
Instances
newCreateCustomActionType Source #
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:settings:CreateCustomActionType'
, createCustomActionType_settings
- URLs that provide users information about this custom action.
$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.
$sel:tags:CreateCustomActionType'
, createCustomActionType_tags
- The tags for the custom action.
$sel:category:CreateCustomActionType'
, createCustomActionType_category
- The category of the custom action, such as a build action or a test
action.
$sel:provider:CreateCustomActionType'
, createCustomActionType_provider
- The provider of the service used in the custom action, such as AWS
CodeDeploy.
$sel:version:CreateCustomActionType'
, createCustomActionType_version
- The version identifier of the custom action.
$sel:inputArtifactDetails:CreateCustomActionType'
, createCustomActionType_inputArtifactDetails
- The details of the input artifact for the action, such as its commit ID.
$sel:outputArtifactDetails:CreateCustomActionType'
, createCustomActionType_outputArtifactDetails
- The details of the output artifact of the action, such as its commit ID.
Request Lenses
createCustomActionType_settings :: Lens' CreateCustomActionType (Maybe ActionTypeSettings) Source #
URLs that provide users information about this custom action.
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_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.
CreateCustomActionTypeResponse' | |
|
Instances
newCreateCustomActionTypeResponse Source #
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:
$sel:tags: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.