

# ChildShard


Output parameter of the GetRecords API. The existing child shard of the current shard.

## Contents


 ** HashKeyRange **   <a name="Streams-Type-ChildShard-HashKeyRange"></a>
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.  
Type: [HashKeyRange](API_HashKeyRange.md) object  
Required: Yes

 ** ParentShards **   <a name="Streams-Type-ChildShard-ParentShards"></a>
The current shard that is the parent of the existing child shard.  
Type: Array of strings  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[a-zA-Z0-9_.-]+`   
Required: Yes

 ** ShardId **   <a name="Streams-Type-ChildShard-ShardId"></a>
The shard ID of the existing child shard of the current shard.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[a-zA-Z0-9_.-]+`   
Required: Yes

## See Also


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/kinesis-2013-12-02/ChildShard) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/kinesis-2013-12-02/ChildShard) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/kinesis-2013-12-02/ChildShard) 