libZSservicesZSamazonka-codebuildZSamazonka-codebuild
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.CodeBuild.Types.SourceCredentialsInfo

Description

 
Synopsis

Documentation

data SourceCredentialsInfo Source #

Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.

See: newSourceCredentialsInfo smart constructor.

Constructors

SourceCredentialsInfo' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the token.

  • serverType :: Maybe ServerType

    The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.

  • authType :: Maybe AuthType

    The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.

Instances

Instances details
Eq SourceCredentialsInfo Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceCredentialsInfo

Read SourceCredentialsInfo Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceCredentialsInfo

Show SourceCredentialsInfo Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceCredentialsInfo

Generic SourceCredentialsInfo Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceCredentialsInfo

Associated Types

type Rep SourceCredentialsInfo :: Type -> Type #

NFData SourceCredentialsInfo Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceCredentialsInfo

Methods

rnf :: SourceCredentialsInfo -> () #

Hashable SourceCredentialsInfo Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceCredentialsInfo

FromJSON SourceCredentialsInfo Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceCredentialsInfo

type Rep SourceCredentialsInfo Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceCredentialsInfo

type Rep SourceCredentialsInfo = D1 ('MetaData "SourceCredentialsInfo" "Amazonka.CodeBuild.Types.SourceCredentialsInfo" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "SourceCredentialsInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serverType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerType)) :*: S1 ('MetaSel ('Just "authType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthType)))))

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.