amazonka-migrationhubstrategy-2.0: Amazon Migration Hub Strategy Recommendations 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.MigrationHubStrategy.Types.SourceCode

Description

 
Synopsis

Documentation

data SourceCode Source #

Object containing source code information that is linked to an application component.

See: newSourceCode smart constructor.

Constructors

SourceCode' 

Fields

Instances

Instances details
ToJSON SourceCode Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.SourceCode

Generic SourceCode Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.SourceCode

Associated Types

type Rep SourceCode :: Type -> Type #

Read SourceCode Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.SourceCode

Show SourceCode Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.SourceCode

NFData SourceCode Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.SourceCode

Methods

rnf :: SourceCode -> () #

Eq SourceCode Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.SourceCode

Hashable SourceCode Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.SourceCode

type Rep SourceCode Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.SourceCode

type Rep SourceCode = D1 ('MetaData "SourceCode" "Amazonka.MigrationHubStrategy.Types.SourceCode" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "SourceCode'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "projectName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sourceVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "versionControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VersionControl)))))

newSourceCode :: SourceCode Source #

Create a value of SourceCode 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:location:SourceCode', sourceCode_location - The repository name for the source code.

$sel:projectName:SourceCode', sourceCode_projectName - The name of the project.

$sel:sourceVersion:SourceCode', sourceCode_sourceVersion - The branch of the source code.

$sel:versionControl:SourceCode', sourceCode_versionControl - The type of repository to use for the source code.

sourceCode_location :: Lens' SourceCode (Maybe Text) Source #

The repository name for the source code.

sourceCode_sourceVersion :: Lens' SourceCode (Maybe Text) Source #

The branch of the source code.

sourceCode_versionControl :: Lens' SourceCode (Maybe VersionControl) Source #

The type of repository to use for the source code.