| Copyright | (c) 2013-2017 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 |
| Language | Haskell2010 |
Network.AWS.Glue.StartJobRun
Description
Runs a job.
- startJobRun :: Text -> StartJobRun
- data StartJobRun
- sjrArguments :: Lens' StartJobRun (HashMap Text Text)
- sjrAllocatedCapacity :: Lens' StartJobRun (Maybe Int)
- sjrJobRunId :: Lens' StartJobRun (Maybe Text)
- sjrJobName :: Lens' StartJobRun Text
- startJobRunResponse :: Int -> StartJobRunResponse
- data StartJobRunResponse
- sjrrsJobRunId :: Lens' StartJobRunResponse (Maybe Text)
- sjrrsResponseStatus :: Lens' StartJobRunResponse Int
Creating a Request
Arguments
| :: Text | |
| -> StartJobRun |
Creates a value of StartJobRun with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sjrArguments- Specific arguments for this job run.sjrAllocatedCapacity- The infrastructure capacity to allocate to this job.sjrJobRunId- The ID of the job run to start.sjrJobName- The name of the job to start.
data StartJobRun Source #
See: startJobRun smart constructor.
Instances
Request Lenses
sjrArguments :: Lens' StartJobRun (HashMap Text Text) Source #
Specific arguments for this job run.
sjrAllocatedCapacity :: Lens' StartJobRun (Maybe Int) Source #
The infrastructure capacity to allocate to this job.
sjrJobRunId :: Lens' StartJobRun (Maybe Text) Source #
The ID of the job run to start.
sjrJobName :: Lens' StartJobRun Text Source #
The name of the job to start.
Destructuring the Response
Arguments
| :: Int | |
| -> StartJobRunResponse |
Creates a value of StartJobRunResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sjrrsJobRunId- The ID assigned to this job run.sjrrsResponseStatus- -- | The response status code.
data StartJobRunResponse Source #
See: startJobRunResponse smart constructor.
Response Lenses
sjrrsJobRunId :: Lens' StartJobRunResponse (Maybe Text) Source #
The ID assigned to this job run.
sjrrsResponseStatus :: Lens' StartJobRunResponse Int Source #
- - | The response status code.