amazonka-sagemaker-2.0: Amazon SageMaker Service 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.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
ToJSON UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.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

AWSRequest UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Associated Types

type AWSResponse UpdateCodeRepository #

Generic UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Associated Types

type Rep UpdateCodeRepository :: Type -> Type #

Read UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Show UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

NFData UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Methods

rnf :: UpdateCodeRepository -> () #

Eq UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Hashable UpdateCodeRepository Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

type AWSResponse 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" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" '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)))

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:

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}

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
Generic UpdateCodeRepositoryResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Associated Types

type Rep UpdateCodeRepositoryResponse :: Type -> Type #

Read UpdateCodeRepositoryResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Show UpdateCodeRepositoryResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

NFData UpdateCodeRepositoryResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateCodeRepository

Eq 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" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" '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.

UpdateCodeRepositoryResponse, updateCodeRepositoryResponse_codeRepositoryArn - The ARN of the Git repository.

Response Lenses