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 |
Synchronizes a job from the source control repository. This operation takes the job artifacts that are located in the remote repository and updates the Glue internal stores with these artifacts.
This API supports optional parameters which take in the repository information.
Synopsis
- data UpdateJobFromSourceControl = UpdateJobFromSourceControl' {}
- newUpdateJobFromSourceControl :: UpdateJobFromSourceControl
- updateJobFromSourceControl_authStrategy :: Lens' UpdateJobFromSourceControl (Maybe SourceControlAuthStrategy)
- updateJobFromSourceControl_authToken :: Lens' UpdateJobFromSourceControl (Maybe Text)
- updateJobFromSourceControl_branchName :: Lens' UpdateJobFromSourceControl (Maybe Text)
- updateJobFromSourceControl_commitId :: Lens' UpdateJobFromSourceControl (Maybe Text)
- updateJobFromSourceControl_folder :: Lens' UpdateJobFromSourceControl (Maybe Text)
- updateJobFromSourceControl_jobName :: Lens' UpdateJobFromSourceControl (Maybe Text)
- updateJobFromSourceControl_provider :: Lens' UpdateJobFromSourceControl (Maybe SourceControlProvider)
- updateJobFromSourceControl_repositoryName :: Lens' UpdateJobFromSourceControl (Maybe Text)
- updateJobFromSourceControl_repositoryOwner :: Lens' UpdateJobFromSourceControl (Maybe Text)
- data UpdateJobFromSourceControlResponse = UpdateJobFromSourceControlResponse' {
- jobName :: Maybe Text
- httpStatus :: Int
- newUpdateJobFromSourceControlResponse :: Int -> UpdateJobFromSourceControlResponse
- updateJobFromSourceControlResponse_jobName :: Lens' UpdateJobFromSourceControlResponse (Maybe Text)
- updateJobFromSourceControlResponse_httpStatus :: Lens' UpdateJobFromSourceControlResponse Int
Creating a Request
data UpdateJobFromSourceControl Source #
See: newUpdateJobFromSourceControl
smart constructor.
UpdateJobFromSourceControl' | |
|
Instances
newUpdateJobFromSourceControl :: UpdateJobFromSourceControl Source #
Create a value of UpdateJobFromSourceControl
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:
UpdateJobFromSourceControl
, updateJobFromSourceControl_authStrategy
- The type of authentication, which can be an authentication token stored
in Amazon Web Services Secrets Manager, or a personal access token.
UpdateJobFromSourceControl
, updateJobFromSourceControl_authToken
- The value of the authorization token.
$sel:branchName:UpdateJobFromSourceControl'
, updateJobFromSourceControl_branchName
- An optional branch in the remote repository.
$sel:commitId:UpdateJobFromSourceControl'
, updateJobFromSourceControl_commitId
- A commit ID for a commit in the remote repository.
UpdateJobFromSourceControl
, updateJobFromSourceControl_folder
- An optional folder in the remote repository.
UpdateJobFromSourceControl
, updateJobFromSourceControl_jobName
- The name of the Glue job to be synchronized to or from the remote
repository.
UpdateJobFromSourceControl
, updateJobFromSourceControl_provider
- The provider for the remote repository.
$sel:repositoryName:UpdateJobFromSourceControl'
, updateJobFromSourceControl_repositoryName
- The name of the remote repository that contains the job artifacts.
$sel:repositoryOwner:UpdateJobFromSourceControl'
, updateJobFromSourceControl_repositoryOwner
- The owner of the remote repository that contains the job artifacts.
Request Lenses
updateJobFromSourceControl_authStrategy :: Lens' UpdateJobFromSourceControl (Maybe SourceControlAuthStrategy) Source #
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
updateJobFromSourceControl_authToken :: Lens' UpdateJobFromSourceControl (Maybe Text) Source #
The value of the authorization token.
updateJobFromSourceControl_branchName :: Lens' UpdateJobFromSourceControl (Maybe Text) Source #
An optional branch in the remote repository.
updateJobFromSourceControl_commitId :: Lens' UpdateJobFromSourceControl (Maybe Text) Source #
A commit ID for a commit in the remote repository.
updateJobFromSourceControl_folder :: Lens' UpdateJobFromSourceControl (Maybe Text) Source #
An optional folder in the remote repository.
updateJobFromSourceControl_jobName :: Lens' UpdateJobFromSourceControl (Maybe Text) Source #
The name of the Glue job to be synchronized to or from the remote repository.
updateJobFromSourceControl_provider :: Lens' UpdateJobFromSourceControl (Maybe SourceControlProvider) Source #
The provider for the remote repository.
updateJobFromSourceControl_repositoryName :: Lens' UpdateJobFromSourceControl (Maybe Text) Source #
The name of the remote repository that contains the job artifacts.
updateJobFromSourceControl_repositoryOwner :: Lens' UpdateJobFromSourceControl (Maybe Text) Source #
The owner of the remote repository that contains the job artifacts.
Destructuring the Response
data UpdateJobFromSourceControlResponse Source #
See: newUpdateJobFromSourceControlResponse
smart constructor.
UpdateJobFromSourceControlResponse' | |
|
Instances
Generic UpdateJobFromSourceControlResponse Source # | |
Read UpdateJobFromSourceControlResponse Source # | |
Show UpdateJobFromSourceControlResponse Source # | |
NFData UpdateJobFromSourceControlResponse Source # | |
Defined in Amazonka.Glue.UpdateJobFromSourceControl rnf :: UpdateJobFromSourceControlResponse -> () # | |
Eq UpdateJobFromSourceControlResponse Source # | |
type Rep UpdateJobFromSourceControlResponse Source # | |
Defined in Amazonka.Glue.UpdateJobFromSourceControl type Rep UpdateJobFromSourceControlResponse = D1 ('MetaData "UpdateJobFromSourceControlResponse" "Amazonka.Glue.UpdateJobFromSourceControl" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "UpdateJobFromSourceControlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateJobFromSourceControlResponse Source #
Create a value of UpdateJobFromSourceControlResponse
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:
UpdateJobFromSourceControl
, updateJobFromSourceControlResponse_jobName
- The name of the Glue job.
$sel:httpStatus:UpdateJobFromSourceControlResponse'
, updateJobFromSourceControlResponse_httpStatus
- The response's http status code.
Response Lenses
updateJobFromSourceControlResponse_jobName :: Lens' UpdateJobFromSourceControlResponse (Maybe Text) Source #
The name of the Glue job.
updateJobFromSourceControlResponse_httpStatus :: Lens' UpdateJobFromSourceControlResponse Int Source #
The response's http status code.