

# ShotSegment
<a name="API_ShotSegment"></a>

Information about a shot detection segment detected in a video. For more information, see [SegmentDetection](API_SegmentDetection.md).

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

 ** Confidence **   <a name="rekognition-Type-ShotSegment-Confidence"></a>
The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.  
Type: Float  
Valid Range: Minimum value of 50. Maximum value of 100.  
Required: No

 ** Index **   <a name="rekognition-Type-ShotSegment-Index"></a>
An Identifier for a shot detection segment detected in a video.   
Type: Long  
Valid Range: Minimum value of 0.  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/rekognition-2016-06-27/ShotSegment) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/rekognition-2016-06-27/ShotSegment) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/rekognition-2016-06-27/ShotSegment) 