amazonka-codebuild-2.0: Amazon CodeBuild 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.CodeBuild.Types.SourceAuth

Description

 
Synopsis

Documentation

data SourceAuth Source #

Information about the authorization settings for CodeBuild to access the source code to be built.

This information is for the CodeBuild console's use only. Your code should not get or set this information directly.

See: newSourceAuth smart constructor.

Constructors

SourceAuth' 

Fields

  • resource :: Maybe Text

    The resource value that applies to the specified authorization type.

  • type' :: SourceAuthType

    This data type is deprecated and is no longer accurate or used.

    The authorization type to use. The only valid value is OAUTH, which represents the OAuth authorization type.

Instances

Instances details
FromJSON SourceAuth Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceAuth

ToJSON SourceAuth Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceAuth

Generic SourceAuth Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceAuth

Associated Types

type Rep SourceAuth :: Type -> Type #

Read SourceAuth Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceAuth

Show SourceAuth Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceAuth

NFData SourceAuth Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceAuth

Methods

rnf :: SourceAuth -> () #

Eq SourceAuth Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceAuth

Hashable SourceAuth Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceAuth

type Rep SourceAuth Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.SourceAuth

type Rep SourceAuth = D1 ('MetaData "SourceAuth" "Amazonka.CodeBuild.Types.SourceAuth" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "SourceAuth'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SourceAuthType)))

newSourceAuth Source #

Create a value of SourceAuth 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:resource:SourceAuth', sourceAuth_resource - The resource value that applies to the specified authorization type.

$sel:type':SourceAuth', sourceAuth_type - This data type is deprecated and is no longer accurate or used.

The authorization type to use. The only valid value is OAUTH, which represents the OAuth authorization type.

sourceAuth_resource :: Lens' SourceAuth (Maybe Text) Source #

The resource value that applies to the specified authorization type.

sourceAuth_type :: Lens' SourceAuth SourceAuthType Source #

This data type is deprecated and is no longer accurate or used.

The authorization type to use. The only valid value is OAUTH, which represents the OAuth authorization type.