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.Types.GitConfig

Description

 
Synopsis

Documentation

data GitConfig Source #

Specifies configuration details for a Git repository in your Amazon Web Services account.

See: newGitConfig smart constructor.

Constructors

GitConfig' 

Fields

  • branch :: Maybe Text

    The default branch for the Git repository.

  • secretArn :: Maybe Text

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

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

  • repositoryUrl :: Text

    The URL where the Git repository is located.

Instances

Instances details
FromJSON GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

ToJSON GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

Generic GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

Associated Types

type Rep GitConfig :: Type -> Type #

Read GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

Show GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

NFData GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

Methods

rnf :: GitConfig -> () #

Eq GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

Hashable GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

type Rep GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

type Rep GitConfig = D1 ('MetaData "GitConfig" "Amazonka.SageMaker.Types.GitConfig" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "GitConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGitConfig Source #

Create a value of GitConfig 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:branch:GitConfig', gitConfig_branch - The default branch for the Git repository.

$sel:secretArn:GitConfig', gitConfig_secretArn - The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT and must be in the following format:

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

$sel:repositoryUrl:GitConfig', gitConfig_repositoryUrl - The URL where the Git repository is located.

gitConfig_branch :: Lens' GitConfig (Maybe Text) Source #

The default branch for the Git repository.

gitConfig_secretArn :: Lens' GitConfig (Maybe Text) Source #

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

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

gitConfig_repositoryUrl :: Lens' GitConfig Text Source #

The URL where the Git repository is located.