AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-04 · Documentation low

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

Summary

Updated documentation to reference PowerShell V4 tools and corrected API documentation links to v4-specific versions

Security assessment

Changes involve version updates (from generic PowerShell to V4) and URL path corrections. No security vulnerabilities, mitigations, or security feature enhancements are mentioned. The updates appear to be routine documentation maintenance for version alignment.

Diff

diff --git a/code-library/latest/ug/powershell_4_cloudtrail_code_examples.md b/code-library/latest/ug/powershell_4_cloudtrail_code_examples.md
index 48c5fe576..1bcfd5e23 100644
--- a//code-library/latest/ug/powershell_4_cloudtrail_code_examples.md
+++ b//code-library/latest/ug/powershell_4_cloudtrail_code_examples.md
@@ -9 +9 @@ There are more AWS SDK examples available in the [AWS Doc SDK Examples](https://
-# CloudTrail examples using Tools for PowerShell
+# CloudTrail examples using Tools for PowerShell V4
@@ -11 +11 @@ There are more AWS SDK examples available in the [AWS Doc SDK Examples](https://
-The following code examples show you how to perform actions and implement common scenarios by using the AWS Tools for PowerShell with CloudTrail.
+The following code examples show you how to perform actions and implement common scenarios by using the AWS Tools for PowerShell V4 with CloudTrail.
@@ -28 +28 @@ The following code example shows how to use `Find-CTEvent`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -55 +55 @@ The following code example shows how to use `Find-CTEvent`.
-  * For API details, see [LookupEvents](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [LookupEvents](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -62 +62 @@ The following code example shows how to use `Get-CTTrail`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -83 +83 @@ The following code example shows how to use `Get-CTTrail`.
-  * For API details, see [DescribeTrails](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [DescribeTrails](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -90 +90 @@ The following code example shows how to use `Get-CTTrailStatus`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -105 +105 @@ The following code example shows how to use `Get-CTTrailStatus`.
-  * For API details, see [GetTrailStatus](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [GetTrailStatus](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -112 +112 @@ The following code example shows how to use `New-CTTrail`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -133 +133 @@ The following code example shows how to use `New-CTTrail`.
-  * For API details, see [CreateTrail](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [CreateTrail](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -140 +140 @@ The following code example shows how to use `Remove-CTTrail`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -149 +149 @@ The following code example shows how to use `Remove-CTTrail`.
-  * For API details, see [DeleteTrail](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [DeleteTrail](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -156 +156 @@ The following code example shows how to use `Start-CTLogging`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -171 +171 @@ The following code example shows how to use `Start-CTLogging`.
-  * For API details, see [StartLogging](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [StartLogging](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -178 +178 @@ The following code example shows how to use `Stop-CTLogging`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -193 +193 @@ The following code example shows how to use `Stop-CTLogging`.
-  * For API details, see [StopLogging](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [StopLogging](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_. 
@@ -200 +200 @@ The following code example shows how to use `Update-CTTrail`.
-**Tools for PowerShell**
+**Tools for PowerShell V4**
@@ -221 +221 @@ The following code example shows how to use `Update-CTTrail`.
-  * For API details, see [UpdateTrail](https://docs.aws.amazon.com/powershell/latest/reference) in _AWS Tools for PowerShell Cmdlet Reference_. 
+  * For API details, see [UpdateTrail](https://docs.aws.amazon.com/powershell/v4/reference) in _AWS Tools for PowerShell Cmdlet Reference (V4)_.