| 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.Glue.StartBlueprintRun
Description
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.
Constructors
| StartBlueprintRun' | |
Fields
| |
Instances
Arguments
| :: 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:
StartBlueprintRun, startBlueprintRun_parameters - Specifies the parameters as a BlueprintParameters object.
StartBlueprintRun, startBlueprintRun_blueprintName - The name of the blueprint.
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.
Constructors
| StartBlueprintRunResponse' | |
Fields
| |
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:
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.