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 |
Get a specific step in a template.
Synopsis
- data GetTemplateStep = GetTemplateStep' {
- id :: Text
- templateId :: Text
- stepGroupId :: Text
- newGetTemplateStep :: Text -> Text -> Text -> GetTemplateStep
- getTemplateStep_id :: Lens' GetTemplateStep Text
- getTemplateStep_templateId :: Lens' GetTemplateStep Text
- getTemplateStep_stepGroupId :: Lens' GetTemplateStep Text
- data GetTemplateStepResponse = GetTemplateStepResponse' {
- creationTime :: Maybe Text
- description :: Maybe Text
- id :: Maybe Text
- name :: Maybe Text
- next :: Maybe [Text]
- outputs :: Maybe [StepOutput]
- previous :: Maybe [Text]
- stepActionType :: Maybe StepActionType
- stepAutomationConfiguration :: Maybe StepAutomationConfiguration
- stepGroupId :: Maybe Text
- templateId :: Maybe Text
- httpStatus :: Int
- newGetTemplateStepResponse :: Int -> GetTemplateStepResponse
- getTemplateStepResponse_creationTime :: Lens' GetTemplateStepResponse (Maybe Text)
- getTemplateStepResponse_description :: Lens' GetTemplateStepResponse (Maybe Text)
- getTemplateStepResponse_id :: Lens' GetTemplateStepResponse (Maybe Text)
- getTemplateStepResponse_name :: Lens' GetTemplateStepResponse (Maybe Text)
- getTemplateStepResponse_next :: Lens' GetTemplateStepResponse (Maybe [Text])
- getTemplateStepResponse_outputs :: Lens' GetTemplateStepResponse (Maybe [StepOutput])
- getTemplateStepResponse_previous :: Lens' GetTemplateStepResponse (Maybe [Text])
- getTemplateStepResponse_stepActionType :: Lens' GetTemplateStepResponse (Maybe StepActionType)
- getTemplateStepResponse_stepAutomationConfiguration :: Lens' GetTemplateStepResponse (Maybe StepAutomationConfiguration)
- getTemplateStepResponse_stepGroupId :: Lens' GetTemplateStepResponse (Maybe Text)
- getTemplateStepResponse_templateId :: Lens' GetTemplateStepResponse (Maybe Text)
- getTemplateStepResponse_httpStatus :: Lens' GetTemplateStepResponse Int
Creating a Request
data GetTemplateStep Source #
See: newGetTemplateStep
smart constructor.
GetTemplateStep' | |
|
Instances
Create a value of GetTemplateStep
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:
GetTemplateStep
, getTemplateStep_id
- The ID of the step.
GetTemplateStep
, getTemplateStep_templateId
- The ID of the template.
GetTemplateStep
, getTemplateStep_stepGroupId
- The ID of the step group.
Request Lenses
getTemplateStep_id :: Lens' GetTemplateStep Text Source #
The ID of the step.
getTemplateStep_templateId :: Lens' GetTemplateStep Text Source #
The ID of the template.
getTemplateStep_stepGroupId :: Lens' GetTemplateStep Text Source #
The ID of the step group.
Destructuring the Response
data GetTemplateStepResponse Source #
See: newGetTemplateStepResponse
smart constructor.
GetTemplateStepResponse' | |
|
Instances
newGetTemplateStepResponse Source #
Create a value of GetTemplateStepResponse
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:
GetTemplateStepResponse
, getTemplateStepResponse_creationTime
- The time at which the step was created.
GetTemplateStepResponse
, getTemplateStepResponse_description
- The description of the step.
GetTemplateStep
, getTemplateStepResponse_id
- The ID of the step.
GetTemplateStepResponse
, getTemplateStepResponse_name
- The name of the step.
GetTemplateStepResponse
, getTemplateStepResponse_next
- The next step.
$sel:outputs:GetTemplateStepResponse'
, getTemplateStepResponse_outputs
- The outputs of the step.
GetTemplateStepResponse
, getTemplateStepResponse_previous
- The previous step.
GetTemplateStepResponse
, getTemplateStepResponse_stepActionType
- The action type of the step. You must run and update the status of a
manual step for the workflow to continue after the completion of the
step.
$sel:stepAutomationConfiguration:GetTemplateStepResponse'
, getTemplateStepResponse_stepAutomationConfiguration
- The custom script to run tests on source or target environments.
GetTemplateStep
, getTemplateStepResponse_stepGroupId
- The ID of the step group.
GetTemplateStep
, getTemplateStepResponse_templateId
- The ID of the template.
$sel:httpStatus:GetTemplateStepResponse'
, getTemplateStepResponse_httpStatus
- The response's http status code.
Response Lenses
getTemplateStepResponse_creationTime :: Lens' GetTemplateStepResponse (Maybe Text) Source #
The time at which the step was created.
getTemplateStepResponse_description :: Lens' GetTemplateStepResponse (Maybe Text) Source #
The description of the step.
getTemplateStepResponse_id :: Lens' GetTemplateStepResponse (Maybe Text) Source #
The ID of the step.
getTemplateStepResponse_name :: Lens' GetTemplateStepResponse (Maybe Text) Source #
The name of the step.
getTemplateStepResponse_next :: Lens' GetTemplateStepResponse (Maybe [Text]) Source #
The next step.
getTemplateStepResponse_outputs :: Lens' GetTemplateStepResponse (Maybe [StepOutput]) Source #
The outputs of the step.
getTemplateStepResponse_previous :: Lens' GetTemplateStepResponse (Maybe [Text]) Source #
The previous step.
getTemplateStepResponse_stepActionType :: Lens' GetTemplateStepResponse (Maybe StepActionType) Source #
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
getTemplateStepResponse_stepAutomationConfiguration :: Lens' GetTemplateStepResponse (Maybe StepAutomationConfiguration) Source #
The custom script to run tests on source or target environments.
getTemplateStepResponse_stepGroupId :: Lens' GetTemplateStepResponse (Maybe Text) Source #
The ID of the step group.
getTemplateStepResponse_templateId :: Lens' GetTemplateStepResponse (Maybe Text) Source #
The ID of the template.
getTemplateStepResponse_httpStatus :: Lens' GetTemplateStepResponse Int Source #
The response's http status code.