Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
Returns information about a submodule reference in a repository folder.
See: newSubModule
smart constructor.
SubModule' | |
|
Instances
Eq SubModule Source # | |
Read SubModule Source # | |
Show SubModule Source # | |
Generic SubModule Source # | |
NFData SubModule Source # | |
Defined in Amazonka.CodeCommit.Types.SubModule | |
Hashable SubModule Source # | |
Defined in Amazonka.CodeCommit.Types.SubModule | |
FromJSON SubModule Source # | |
type Rep SubModule Source # | |
Defined in Amazonka.CodeCommit.Types.SubModule type Rep SubModule = D1 ('MetaData "SubModule" "Amazonka.CodeCommit.Types.SubModule" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "SubModule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "commitId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "absolutePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "relativePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newSubModule :: SubModule Source #
Create a value of SubModule
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:SubModule'
, subModule_commitId
- The commit ID that contains the reference to the submodule.
$sel:absolutePath:SubModule'
, subModule_absolutePath
- The fully qualified path to the folder that contains the reference to
the submodule.
$sel:relativePath:SubModule'
, subModule_relativePath
- The relative path of the submodule from the folder where the query
originated.
subModule_commitId :: Lens' SubModule (Maybe Text) Source #
The commit ID that contains the reference to the submodule.