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 GitHubCodeDestination = GitHubCodeDestination' {}
- newGitHubCodeDestination :: Text -> Text -> Text -> Bool -> Bool -> Text -> GitHubCodeDestination
- gitHubCodeDestination_description :: Lens' GitHubCodeDestination (Maybe Text)
- gitHubCodeDestination_name :: Lens' GitHubCodeDestination Text
- gitHubCodeDestination_type :: Lens' GitHubCodeDestination Text
- gitHubCodeDestination_owner :: Lens' GitHubCodeDestination Text
- gitHubCodeDestination_privateRepository :: Lens' GitHubCodeDestination Bool
- gitHubCodeDestination_issuesEnabled :: Lens' GitHubCodeDestination Bool
- gitHubCodeDestination_token :: Lens' GitHubCodeDestination Text
Documentation
data GitHubCodeDestination Source #
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
See: newGitHubCodeDestination
smart constructor.
GitHubCodeDestination' | |
|
Instances
newGitHubCodeDestination Source #
Create a value of GitHubCodeDestination
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:description:GitHubCodeDestination'
, gitHubCodeDestination_description
- Description for the GitHub repository to be created in AWS CodeStar.
This description displays in GitHub after the repository is created.
$sel:name:GitHubCodeDestination'
, gitHubCodeDestination_name
- Name of the GitHub repository to be created in AWS CodeStar.
$sel:type':GitHubCodeDestination'
, gitHubCodeDestination_type
- The type of GitHub repository to be created in AWS CodeStar. Valid
values are User or Organization.
$sel:owner:GitHubCodeDestination'
, gitHubCodeDestination_owner
- The GitHub username for the owner of the GitHub repository to be created
in AWS CodeStar. If this repository should be owned by a GitHub
organization, provide its name.
$sel:privateRepository:GitHubCodeDestination'
, gitHubCodeDestination_privateRepository
- Whether the GitHub repository is to be a private repository.
$sel:issuesEnabled:GitHubCodeDestination'
, gitHubCodeDestination_issuesEnabled
- Whether to enable issues for the GitHub repository.
$sel:token:GitHubCodeDestination'
, gitHubCodeDestination_token
- The GitHub user's personal access token for the GitHub repository.
gitHubCodeDestination_description :: Lens' GitHubCodeDestination (Maybe Text) Source #
Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
gitHubCodeDestination_name :: Lens' GitHubCodeDestination Text Source #
Name of the GitHub repository to be created in AWS CodeStar.
gitHubCodeDestination_type :: Lens' GitHubCodeDestination Text Source #
The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.
gitHubCodeDestination_owner :: Lens' GitHubCodeDestination Text Source #
The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should be owned by a GitHub organization, provide its name.
gitHubCodeDestination_privateRepository :: Lens' GitHubCodeDestination Bool Source #
Whether the GitHub repository is to be a private repository.
gitHubCodeDestination_issuesEnabled :: Lens' GitHubCodeDestination Bool Source #
Whether to enable issues for the GitHub repository.
gitHubCodeDestination_token :: Lens' GitHubCodeDestination Text Source #
The GitHub user's personal access token for the GitHub repository.