

# SubModule
<a name="API_SubModule"></a>

Returns information about a submodule reference in a repository folder.

## Contents
<a name="API_SubModule_Contents"></a>

 ** absolutePath **   <a name="CodeCommit-Type-SubModule-absolutePath"></a>
The fully qualified path to the folder that contains the reference to the submodule.  
Type: String  
Required: No

 ** commitId **   <a name="CodeCommit-Type-SubModule-commitId"></a>
The commit ID that contains the reference to the submodule.  
Type: String  
Required: No

 ** relativePath **   <a name="CodeCommit-Type-SubModule-relativePath"></a>
The relative path of the submodule from the folder where the query originated.  
Type: String  
Required: No

## See Also
<a name="API_SubModule_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/codecommit-2015-04-13/SubModule) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/codecommit-2015-04-13/SubModule) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/codecommit-2015-04-13/SubModule) 