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 Code = Code' {}
- newCode :: CodeSource -> CodeDestination -> Code
- code_source :: Lens' Code CodeSource
- code_destination :: Lens' Code CodeDestination
Documentation
Location and destination information about the source code files provided with the project request. The source code is uploaded to the new project source repository after project creation.
See: newCode
smart constructor.
Code' | |
|
Instances
Eq Code Source # | |
Show Code Source # | |
Generic Code Source # | |
NFData Code Source # | |
Defined in Amazonka.CodeStar.Types.Code | |
Hashable Code Source # | |
Defined in Amazonka.CodeStar.Types.Code | |
ToJSON Code Source # | |
Defined in Amazonka.CodeStar.Types.Code | |
type Rep Code Source # | |
Defined in Amazonka.CodeStar.Types.Code type Rep Code = D1 ('MetaData "Code" "Amazonka.CodeStar.Types.Code" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "Code'" 'PrefixI 'True) (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CodeSource) :*: S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CodeDestination))) |
Create a value of Code
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:source:Code'
, code_source
- The location where the source code files provided with the project
request are stored. AWS CodeStar retrieves the files during project
creation.
$sel:destination:Code'
, code_destination
- The repository to be created in AWS CodeStar. Valid values are AWS
CodeCommit or GitHub. After AWS CodeStar provisions the new repository,
the source code files provided with the project request are placed in
the repository.
code_source :: Lens' Code CodeSource Source #
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
code_destination :: Lens' Code CodeDestination Source #
The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.