amazonka-glue-2.0: Amazon Glue SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glue.UpdateJobFromSourceControl

Description

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

Creating a Request

data UpdateJobFromSourceControl Source #

See: newUpdateJobFromSourceControl smart constructor.

Constructors

UpdateJobFromSourceControl' 

Fields

Instances

Instances details
ToJSON UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

ToHeaders UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

ToPath UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

ToQuery UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

AWSRequest UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

Generic UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

Associated Types

type Rep UpdateJobFromSourceControl :: Type -> Type #

Read UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

Show UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

NFData UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

Eq UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

Hashable UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

type AWSResponse UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

type Rep UpdateJobFromSourceControl Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

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_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_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 #

Constructors

UpdateJobFromSourceControlResponse' 

Fields

Instances

Instances details
Generic UpdateJobFromSourceControlResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

Associated Types

type Rep UpdateJobFromSourceControlResponse :: Type -> Type #

Read UpdateJobFromSourceControlResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

Show UpdateJobFromSourceControlResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

NFData UpdateJobFromSourceControlResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

Eq UpdateJobFromSourceControlResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateJobFromSourceControl

type Rep UpdateJobFromSourceControlResponse Source # 
Instance details

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