AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2025-08-16 · Documentation low

File: cli/latest/reference/amp/update-scraper.md

Summary

Updated CLI version reference, reordered parameters (added --scraper-id earlier), expanded scrape-configuration documentation with implementation notes, and reorganized output fields

Security assessment

While the scrape-configuration documentation now references security best practices (AWS managed collector), this is general guidance rather than addressing a specific security issue or introducing new security features. Parameter reorganization doesn't indicate security fixes.

Diff

diff --git a/cli/latest/reference/amp/update-scraper.md b/cli/latest/reference/amp/update-scraper.md
index a0689eebf..62968c781 100644
--- a//cli/latest/reference/amp/update-scraper.md
+++ b//cli/latest/reference/amp/update-scraper.md
@@ -15 +15 @@
-  * [AWS CLI 2.28.8 Command Reference](../../index.html) »
+  * [AWS CLI 2.28.11 Command Reference](../../index.html) »
@@ -68,0 +69 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/amp-20
+    --scraper-id <value>
@@ -70 +71 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/amp-20
-    [--client-token <value>]
+    [--scrape-configuration <value>]
@@ -73,2 +74 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/amp-20
-    [--scrape-configuration <value>]
-    --scraper-id <value>
+    [--client-token <value>]
@@ -98,0 +99,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/amp-20
+`--scraper-id` (string)
+
+> The ID of the scraper to update.
+
@@ -103 +107,28 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/amp-20
-`--client-token` (string)
+`--scrape-configuration` (tagged union structure)
+
+> Contains the base-64 encoded YAML configuration for the scraper.
+> 
+> ### Note
+> 
+> For more information about configuring a scraper, see [Using an Amazon Web Services managed collector](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html) in the _Amazon Managed Service for Prometheus User Guide_ .
+> 
+> ### Note
+> 
+> This is a Tagged Union structure. Only one of the following top level keys can be set: `configurationBlob`.
+> 
+> configurationBlob -> (blob)
+>
+>> The base 64 encoded scrape configuration file.
+
+Shorthand Syntax:
+    
+    
+    configurationBlob=blob
+    
+
+JSON Syntax:
+    
+    
+    {
+      "configurationBlob": blob
+    }
@@ -105 +135,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/amp-20
-> A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
@@ -166,31 +196 @@ JSON Syntax:
-`--scrape-configuration` (tagged union structure)
-
-> Contains the base-64 encoded YAML configuration for the scraper.
-> 
-> ### Note
-> 
-> For more information about configuring a scraper, see [Using an Amazon Web Services managed collector](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html) in the _Amazon Managed Service for Prometheus User Guide_ .
-> 
-> ### Note
-> 
-> This is a Tagged Union structure. Only one of the following top level keys can be set: `configurationBlob`.
-> 
-> configurationBlob -> (blob)
->
->> The base 64 encoded scrape configuration file.
-
-Shorthand Syntax:
-    
-    
-    configurationBlob=blob
-    
-
-JSON Syntax:
-    
-    
-    {
-      "configurationBlob": blob
-    }
-    
-
-`--scraper-id` (string)
+`--client-token` (string)
@@ -198 +198 @@ JSON Syntax:
-> The ID of the scraper to update.
+> A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
@@ -299,4 +298,0 @@ Disable automatically prompt for CLI input parameters.
-arn -> (string)
-
-> The Amazon Resource Name (ARN) of the updated scraper.
-
@@ -306,0 +303,4 @@ scraperId -> (string)
+arn -> (string)
+
+> The Amazon Resource Name (ARN) of the updated scraper.
+
@@ -337 +337 @@ tags -> (map)
-  * [AWS CLI 2.28.8 Command Reference](../../index.html) »
+  * [AWS CLI 2.28.11 Command Reference](../../index.html) »