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 |
Starts a new run of the specified blueprint.
Synopsis
- data StartBlueprintRun = StartBlueprintRun' {
- parameters :: Maybe Text
- blueprintName :: Text
- roleArn :: Text
- newStartBlueprintRun :: Text -> Text -> StartBlueprintRun
- startBlueprintRun_parameters :: Lens' StartBlueprintRun (Maybe Text)
- startBlueprintRun_blueprintName :: Lens' StartBlueprintRun Text
- startBlueprintRun_roleArn :: Lens' StartBlueprintRun Text
- data StartBlueprintRunResponse = StartBlueprintRunResponse' {
- runId :: Maybe Text
- httpStatus :: Int
- newStartBlueprintRunResponse :: Int -> StartBlueprintRunResponse
- startBlueprintRunResponse_runId :: Lens' StartBlueprintRunResponse (Maybe Text)
- startBlueprintRunResponse_httpStatus :: Lens' StartBlueprintRunResponse Int
Creating a Request
data StartBlueprintRun Source #
See: newStartBlueprintRun
smart constructor.
StartBlueprintRun' | |
|
Instances
:: Text | |
-> Text | |
-> StartBlueprintRun |
Create a value of StartBlueprintRun
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:parameters:StartBlueprintRun'
, startBlueprintRun_parameters
- Specifies the parameters as a BlueprintParameters
object.
$sel:blueprintName:StartBlueprintRun'
, startBlueprintRun_blueprintName
- The name of the blueprint.
$sel:roleArn:StartBlueprintRun'
, startBlueprintRun_roleArn
- Specifies the IAM role used to create the workflow.
Request Lenses
startBlueprintRun_parameters :: Lens' StartBlueprintRun (Maybe Text) Source #
Specifies the parameters as a BlueprintParameters
object.
startBlueprintRun_blueprintName :: Lens' StartBlueprintRun Text Source #
The name of the blueprint.
startBlueprintRun_roleArn :: Lens' StartBlueprintRun Text Source #
Specifies the IAM role used to create the workflow.
Destructuring the Response
data StartBlueprintRunResponse Source #
See: newStartBlueprintRunResponse
smart constructor.
StartBlueprintRunResponse' | |
|
Instances
newStartBlueprintRunResponse Source #
Create a value of StartBlueprintRunResponse
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:runId:StartBlueprintRunResponse'
, startBlueprintRunResponse_runId
- The run ID for this blueprint run.
$sel:httpStatus:StartBlueprintRunResponse'
, startBlueprintRunResponse_httpStatus
- The response's http status code.
Response Lenses
startBlueprintRunResponse_runId :: Lens' StartBlueprintRunResponse (Maybe Text) Source #
The run ID for this blueprint run.
startBlueprintRunResponse_httpStatus :: Lens' StartBlueprintRunResponse Int Source #
The response's http status code.