Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data SourceCredentialsInfo = SourceCredentialsInfo' {
- arn :: Maybe Text
- serverType :: Maybe ServerType
- authType :: Maybe AuthType
- newSourceCredentialsInfo :: SourceCredentialsInfo
- sourceCredentialsInfo_arn :: Lens' SourceCredentialsInfo (Maybe Text)
- sourceCredentialsInfo_serverType :: Lens' SourceCredentialsInfo (Maybe ServerType)
- sourceCredentialsInfo_authType :: Lens' SourceCredentialsInfo (Maybe AuthType)
Documentation
data SourceCredentialsInfo Source #
Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.
See: newSourceCredentialsInfo
smart constructor.
SourceCredentialsInfo' | |
|
Instances
newSourceCredentialsInfo :: SourceCredentialsInfo Source #
Create a value of SourceCredentialsInfo
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:arn:SourceCredentialsInfo'
, sourceCredentialsInfo_arn
- The Amazon Resource Name (ARN) of the token.
$sel:serverType:SourceCredentialsInfo'
, sourceCredentialsInfo_serverType
- The type of source provider. The valid options are GITHUB,
GITHUB_ENTERPRISE, or BITBUCKET.
$sel:authType:SourceCredentialsInfo'
, sourceCredentialsInfo_authType
- The type of authentication used by the credentials. Valid options are
OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
sourceCredentialsInfo_arn :: Lens' SourceCredentialsInfo (Maybe Text) Source #
The Amazon Resource Name (ARN) of the token.
sourceCredentialsInfo_serverType :: Lens' SourceCredentialsInfo (Maybe ServerType) Source #
The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
sourceCredentialsInfo_authType :: Lens' SourceCredentialsInfo (Maybe AuthType) Source #
The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.