AWS cli documentation change
Summary
Updated documentation to include Prometheus data source type in response structure with IAM role and workspace ARN constraints.
Security assessment
Documents security controls (IAM role requirements) for retrieving Prometheus data source configurations, but does not indicate any security vulnerability being addressed. The security documentation is part of normal feature updates.
Diff
diff --git a/cli/latest/reference/opensearch/get-direct-query-data-source.md b/cli/latest/reference/opensearch/get-direct-query-data-source.md index ecba9f652..ba3e974e7 100644 --- a//cli/latest/reference/opensearch/get-direct-query-data-source.md +++ b//cli/latest/reference/opensearch/get-direct-query-data-source.md @@ -15 +15 @@ - * [AWS CLI 2.34.12 Command Reference](../../index.html) » + * [AWS CLI 2.34.14 Command Reference](../../index.html) » @@ -236 +236 @@ DataSourceType -> (tagged union structure) -> This is a Tagged Union structure. Only one of the following top level keys can be set: `CloudWatchLog`, `SecurityLake`. +> This is a Tagged Union structure. Only one of the following top level keys can be set: `CloudWatchLog`, `SecurityLake`, `Prometheus`. @@ -268,0 +269,26 @@ DataSourceType -> (tagged union structure) +> +> Prometheus -> (structure) +> +>> Specifies Prometheus as a type of data source for direct queries. +>> +>> RoleArn -> (string) [required] +>> +>>> The unique identifier of the IAM role that grants OpenSearch Service permission to access the specified data source. +>>> +>>> Constraints: +>>> +>>> * min: `32` +>>> * max: `200` +>>> * pattern: `^arn:aws[a-zA-Z-]*:iam::\d{12}:role(\/service-role)?\/[A-Za-z0-9+=,.@\-_]{1,64}$` +>>> + +>> +>> WorkspaceArn -> (string) [required] +>> +>>> The unique identifier of the Amazon Managed Prometheus Workspace that is associated with the specified data source. +>>> +>>> Constraints: +>>> +>>> * pattern: `^arn:aws[a-zA-Z-]*:aps:[a-z0-9-]+:[0-9]{12}:workspace\/ws-[a-z0-9-]*$` +>>> + @@ -323 +349 @@ DataSourceArn -> (string) - * [AWS CLI 2.34.12 Command Reference](../../index.html) » + * [AWS CLI 2.34.14 Command Reference](../../index.html) »