amazonka-codecommit-2.0: Amazon CodeCommit SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • blobId :: Maybe Text

    The full ID of the blob.

  • 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
  • path :: Maybe Text

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

Instances

Instances details
FromJSON 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 #

Read BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

Show BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

NFData BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

Methods

rnf :: BlobMetadata -> () #

Eq BlobMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BlobMetadata

Hashable 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" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "BlobMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "path") '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:blobId:BlobMetadata', blobMetadata_blobId - The full ID of the blob.

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

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

The full ID of the blob.

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_path :: Lens' BlobMetadata (Maybe Text) Source #

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