libZSservicesZSamazonka-codecommitZSamazonka-codecommit
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.CodeCommit.Types.SourceFileSpecifier

Description

 
Synopsis

Documentation

data SourceFileSpecifier Source #

Information about a source file that is part of changes made in a commit.

See: newSourceFileSpecifier smart constructor.

Constructors

SourceFileSpecifier' 

Fields

  • isMove :: Maybe Bool

    Whether to remove the source file from the parent commit.

  • filePath :: Text

    The full path to the file, including the name of the file.

Instances

Instances details
Eq SourceFileSpecifier Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.SourceFileSpecifier

Read SourceFileSpecifier Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.SourceFileSpecifier

Show SourceFileSpecifier Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.SourceFileSpecifier

Generic SourceFileSpecifier Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.SourceFileSpecifier

Associated Types

type Rep SourceFileSpecifier :: Type -> Type #

NFData SourceFileSpecifier Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.SourceFileSpecifier

Methods

rnf :: SourceFileSpecifier -> () #

Hashable SourceFileSpecifier Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.SourceFileSpecifier

ToJSON SourceFileSpecifier Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.SourceFileSpecifier

type Rep SourceFileSpecifier Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.SourceFileSpecifier

type Rep SourceFileSpecifier = D1 ('MetaData "SourceFileSpecifier" "Amazonka.CodeCommit.Types.SourceFileSpecifier" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "SourceFileSpecifier'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isMove") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "filePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSourceFileSpecifier Source #

Create a value of SourceFileSpecifier 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:isMove:SourceFileSpecifier', sourceFileSpecifier_isMove - Whether to remove the source file from the parent commit.

$sel:filePath:SourceFileSpecifier', sourceFileSpecifier_filePath - The full path to the file, including the name of the file.

sourceFileSpecifier_isMove :: Lens' SourceFileSpecifier (Maybe Bool) Source #

Whether to remove the source file from the parent commit.

sourceFileSpecifier_filePath :: Lens' SourceFileSpecifier Text Source #

The full path to the file, including the name of the file.