libZSservicesZSamazonka-codestarZSamazonka-codestar
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.CodeStar.Types.GitHubCodeDestination

Description

 
Synopsis

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.

Constructors

GitHubCodeDestination' 

Fields

  • description :: Maybe Text

    Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.

  • name :: Text

    Name of the GitHub repository to be created in AWS CodeStar.

  • type' :: Text

    The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.

  • owner :: Text

    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.

  • privateRepository :: Bool

    Whether the GitHub repository is to be a private repository.

  • issuesEnabled :: Bool

    Whether to enable issues for the GitHub repository.

  • token :: Sensitive Text

    The GitHub user's personal access token for the GitHub repository.

Instances

Instances details
Eq GitHubCodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.GitHubCodeDestination

Show GitHubCodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.GitHubCodeDestination

Generic GitHubCodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.GitHubCodeDestination

Associated Types

type Rep GitHubCodeDestination :: Type -> Type #

NFData GitHubCodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.GitHubCodeDestination

Methods

rnf :: GitHubCodeDestination -> () #

Hashable GitHubCodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.GitHubCodeDestination

ToJSON GitHubCodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.GitHubCodeDestination

type Rep GitHubCodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.GitHubCodeDestination

type Rep GitHubCodeDestination = D1 ('MetaData "GitHubCodeDestination" "Amazonka.CodeStar.Types.GitHubCodeDestination" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "GitHubCodeDestination'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "privateRepository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "issuesEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))))

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.