libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.UpdateCodeRepository

Description

Updates the specified Git repository with the specified values.

Synopsis

Creating a Request

data UpdateCodeRepository Source #

See: newUpdateCodeRepository smart constructor.

Constructors

UpdateCodeRepository' 

Fields

  • gitConfig :: Maybe GitConfigForUpdate

    The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of AWSCURRENT and must be in the following format:

    {"username": UserName, "password": Password}
  • codeRepositoryName :: Text

    The name of the Git repository to update.

Instances

Instances details
Eq UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Read UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Show UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Generic UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Associated Types

type Rep UpdateCodeRepository :: Type -> Type #

NFData UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Methods

rnf :: UpdateCodeRepository -> () #

Hashable UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

ToJSON UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

AWSRequest UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Associated Types

type AWSResponse UpdateCodeRepository #

ToHeaders UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

ToPath UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

ToQuery UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

type Rep UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

type Rep UpdateCodeRepository = D1 ('MetaData "UpdateCodeRepository" "Amazonka.SageMaker.UpdateCodeRepository" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "UpdateCodeRepository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gitConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GitConfigForUpdate)) :*: S1 ('MetaSel ('Just "codeRepositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

newUpdateCodeRepository Source #

Create a value of UpdateCodeRepository 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:gitConfig:UpdateCodeRepository', updateCodeRepository_gitConfig - The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of AWSCURRENT and must be in the following format:

{"username": UserName, "password": Password}

$sel:codeRepositoryName:UpdateCodeRepository', updateCodeRepository_codeRepositoryName - The name of the Git repository to update.

Request Lenses

updateCodeRepository_gitConfig :: Lens' UpdateCodeRepository (Maybe GitConfigForUpdate) Source #

The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of AWSCURRENT and must be in the following format:

{"username": UserName, "password": Password}

Destructuring the Response

data UpdateCodeRepositoryResponse Source #

See: newUpdateCodeRepositoryResponse smart constructor.

Constructors

UpdateCodeRepositoryResponse' 

Fields

Instances

Instances details
Eq UpdateCodeRepositoryResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Read UpdateCodeRepositoryResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Show UpdateCodeRepositoryResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Generic UpdateCodeRepositoryResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Associated Types

type Rep UpdateCodeRepositoryResponse :: Type -> Type #

NFData UpdateCodeRepositoryResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

type Rep UpdateCodeRepositoryResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

type Rep UpdateCodeRepositoryResponse = D1 ('MetaData "UpdateCodeRepositoryResponse" "Amazonka.SageMaker.UpdateCodeRepository" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "UpdateCodeRepositoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "codeRepositoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateCodeRepositoryResponse Source #

Create a value of UpdateCodeRepositoryResponse 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:httpStatus:UpdateCodeRepositoryResponse', updateCodeRepositoryResponse_httpStatus - The response's http status code.

$sel:codeRepositoryArn:UpdateCodeRepositoryResponse', updateCodeRepositoryResponse_codeRepositoryArn - The ARN of the Git repository.

Response Lenses