AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-05-31 · Documentation low

File: code-library/latest/ug/cli_2_ec2_code_examples.md

Summary

Added detailed output example for restore-snapshot-from-recycle-bin command

Security assessment

Enhanced command output example shows snapshot metadata but doesn't introduce or modify security-related content.

Diff

diff --git a/code-library/latest/ug/cli_2_ec2_code_examples.md b/code-library/latest/ug/cli_2_ec2_code_examples.md
index e76a34036..977e6962a 100644
--- a//code-library/latest/ug/cli_2_ec2_code_examples.md
+++ b//code-library/latest/ug/cli_2_ec2_code_examples.md
@@ -28814 +28814,14 @@ The following `restore-snapshot-from-recycle-bin` example restores a snapshot fr
-This command produces no output.
+Output:
+    
+    
+    {
+        "SnapshotId": "snap-01234567890abcdef",
+        "Description": "Monthly data backup snapshot",
+        "Encrypted": false,
+        "OwnerId": "111122223333",
+        "Progress": "99%",
+        "StartTime": "2021-12-01T13:00:00.000000+00:00",
+        "State": "recovering",
+        "VolumeId": "vol-ffffffff",
+        "VolumeSize": 30
+    }