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

Description

 
Synopsis

Documentation

data BlobMetadata Source #

Returns information about a specific Git blob object.

See: newBlobMetadata smart constructor.

Constructors

BlobMetadata' 

Fields

  • path :: Maybe Text

    The path to the blob and associated file name, if any.

  • mode :: Maybe Text

    The file mode permissions of the blob. File mode permission codes include:

    • 100644 indicates read/write
    • 100755 indicates read/write/execute
    • 160000 indicates a submodule
    • 120000 indicates a symlink
  • blobId :: Maybe Text

    The full ID of the blob.

Instances

Instances details
Eq BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

Read BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

Show BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

Generic BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

Associated Types

type Rep BlobMetadata :: Type -> Type #

NFData BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

Methods

rnf :: BlobMetadata -> () #

Hashable BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

FromJSON BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

type Rep BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

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

newBlobMetadata :: BlobMetadata Source #

Create a value of BlobMetadata 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:path:BlobMetadata', blobMetadata_path - The path to the blob and associated file name, if any.

$sel:mode:BlobMetadata', blobMetadata_mode - The file mode permissions of the blob. File mode permission codes include:

  • 100644 indicates read/write
  • 100755 indicates read/write/execute
  • 160000 indicates a submodule
  • 120000 indicates a symlink

$sel:blobId:BlobMetadata', blobMetadata_blobId - The full ID of the blob.

blobMetadata_path :: Lens' BlobMetadata (Maybe Text) Source #

The path to the blob and associated file name, if any.

blobMetadata_mode :: Lens' BlobMetadata (Maybe Text) Source #

The file mode permissions of the blob. File mode permission codes include:

  • 100644 indicates read/write
  • 100755 indicates read/write/execute
  • 160000 indicates a submodule
  • 120000 indicates a symlink

blobMetadata_blobId :: Lens' BlobMetadata (Maybe Text) Source #

The full ID of the blob.