| 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 |
Amazonka.SageMaker.Types.GitConfig
Description
Synopsis
- data GitConfig = GitConfig' {}
- newGitConfig :: Text -> GitConfig
- gitConfig_branch :: Lens' GitConfig (Maybe Text)
- gitConfig_secretArn :: Lens' GitConfig (Maybe Text)
- gitConfig_repositoryUrl :: Lens' GitConfig Text
Documentation
Specifies configuration details for a Git repository in your Amazon Web Services account.
See: newGitConfig smart constructor.
Constructors
| GitConfig' | |
Fields
| |
Instances
| FromJSON GitConfig Source # | |
| ToJSON GitConfig Source # | |
Defined in Amazonka.SageMaker.Types.GitConfig | |
| Generic GitConfig Source # | |
| Read GitConfig Source # | |
| Show GitConfig Source # | |
| NFData GitConfig Source # | |
Defined in Amazonka.SageMaker.Types.GitConfig | |
| Eq GitConfig Source # | |
| Hashable GitConfig Source # | |
Defined in Amazonka.SageMaker.Types.GitConfig | |
| type Rep GitConfig Source # | |
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)))) | |
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_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}