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

Description

 
Synopsis

Documentation

data BatchGetCommitsError Source #

Returns information about errors in a BatchGetCommits operation.

See: newBatchGetCommitsError smart constructor.

Constructors

BatchGetCommitsError' 

Fields

  • commitId :: Maybe Text

    A commit ID that either could not be found or was not in a valid format.

  • errorCode :: Maybe Text

    An error code that specifies whether the commit ID was not valid or not found.

  • errorMessage :: Maybe Text

    An error message that provides detail about why the commit ID either was not found or was not valid.

Instances

Instances details
Eq BatchGetCommitsError Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BatchGetCommitsError

Read BatchGetCommitsError Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BatchGetCommitsError

Show BatchGetCommitsError Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BatchGetCommitsError

Generic BatchGetCommitsError Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BatchGetCommitsError

Associated Types

type Rep BatchGetCommitsError :: Type -> Type #

NFData BatchGetCommitsError Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BatchGetCommitsError

Methods

rnf :: BatchGetCommitsError -> () #

Hashable BatchGetCommitsError Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BatchGetCommitsError

FromJSON BatchGetCommitsError Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BatchGetCommitsError

type Rep BatchGetCommitsError Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.BatchGetCommitsError

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

newBatchGetCommitsError :: BatchGetCommitsError Source #

Create a value of BatchGetCommitsError 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:commitId:BatchGetCommitsError', batchGetCommitsError_commitId - A commit ID that either could not be found or was not in a valid format.

$sel:errorCode:BatchGetCommitsError', batchGetCommitsError_errorCode - An error code that specifies whether the commit ID was not valid or not found.

$sel:errorMessage:BatchGetCommitsError', batchGetCommitsError_errorMessage - An error message that provides detail about why the commit ID either was not found or was not valid.

batchGetCommitsError_commitId :: Lens' BatchGetCommitsError (Maybe Text) Source #

A commit ID that either could not be found or was not in a valid format.

batchGetCommitsError_errorCode :: Lens' BatchGetCommitsError (Maybe Text) Source #

An error code that specifies whether the commit ID was not valid or not found.

batchGetCommitsError_errorMessage :: Lens' BatchGetCommitsError (Maybe Text) Source #

An error message that provides detail about why the commit ID either was not found or was not valid.