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.Difference

Description

 
Synopsis

Documentation

data Difference Source #

Returns information about a set of differences for a commit specifier.

See: newDifference smart constructor.

Constructors

Difference' 

Fields

  • afterBlob :: Maybe BlobMetadata

    Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.

  • beforeBlob :: Maybe BlobMetadata

    Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.

  • changeType :: Maybe ChangeTypeEnum

    Whether the change type of the difference is an addition (A), deletion (D), or modification (M).

Instances

Instances details
Eq Difference Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Difference

Read Difference Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Difference

Show Difference Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Difference

Generic Difference Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Difference

Associated Types

type Rep Difference :: Type -> Type #

NFData Difference Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Difference

Methods

rnf :: Difference -> () #

Hashable Difference Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Difference

FromJSON Difference Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Difference

type Rep Difference Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Difference

type Rep Difference = D1 ('MetaData "Difference" "Amazonka.CodeCommit.Types.Difference" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "Difference'" 'PrefixI 'True) (S1 ('MetaSel ('Just "afterBlob") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BlobMetadata)) :*: (S1 ('MetaSel ('Just "beforeBlob") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BlobMetadata)) :*: S1 ('MetaSel ('Just "changeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeTypeEnum)))))

newDifference :: Difference Source #

Create a value of Difference 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:afterBlob:Difference', difference_afterBlob - Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.

$sel:beforeBlob:Difference', difference_beforeBlob - Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.

$sel:changeType:Difference', difference_changeType - Whether the change type of the difference is an addition (A), deletion (D), or modification (M).

difference_afterBlob :: Lens' Difference (Maybe BlobMetadata) Source #

Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.

difference_beforeBlob :: Lens' Difference (Maybe BlobMetadata) Source #

Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.

difference_changeType :: Lens' Difference (Maybe ChangeTypeEnum) Source #

Whether the change type of the difference is an addition (A), deletion (D), or modification (M).