Skip to content

Commit cf9b596

Browse files
author
AWS
committed
Amazon OpenSearch Service Update: Added support for Amazon Managed Service for Prometheus (AMP) as a connected data source in OpenSearch UI. Now users can analyze Prometheus metrics in OpenSearch UI without data copy.
1 parent 9fb6c72 commit cf9b596

File tree

2 files changed

+36
-6
lines changed

2 files changed

+36
-6
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon OpenSearch Service",
4+
"contributor": "",
5+
"description": "Added support for Amazon Managed Service for Prometheus (AMP) as a connected data source in OpenSearch UI. Now users can analyze Prometheus metrics in OpenSearch UI without data copy."
6+
}

services/opensearch/src/main/resources/codegen-resources/service-2.json

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,6 +1457,10 @@
14571457
},
14581458
"documentation":"<p>The status of machine learning options on the specified domain.</p>"
14591459
},
1460+
"AMPWorkspaceArn":{
1461+
"type":"string",
1462+
"pattern":"^arn:aws[a-zA-Z-]*:aps:[a-z0-9-]+:[0-9]{12}:workspace\\/ws-[a-z0-9-]*$"
1463+
},
14601464
"ARN":{
14611465
"type":"string",
14621466
"documentation":"<p>The Amazon Resource Name (ARN) of the domain. See <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html\">Identifiers for IAM Entities </a> in <i>Using Amazon Web Services Identity and Access Management</i> for more information. </p>",
@@ -1609,8 +1613,7 @@
16091613
"type":"structure",
16101614
"required":[
16111615
"DataSourceName",
1612-
"DataSourceType",
1613-
"OpenSearchArns"
1616+
"DataSourceType"
16141617
],
16151618
"members":{
16161619
"DataSourceName":{
@@ -1627,7 +1630,7 @@
16271630
},
16281631
"OpenSearchArns":{
16291632
"shape":"DirectQueryOpenSearchARNList",
1630-
"documentation":"<p> A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source. </p>"
1633+
"documentation":"<p> An optional list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source. This field is required for CloudWatchLogs and SecurityLake datasource types. </p>"
16311634
},
16321635
"DataSourceAccessPolicy":{
16331636
"shape":"PolicyDocument",
@@ -3966,6 +3969,10 @@
39663969
"SecurityLake":{
39673970
"shape":"SecurityLakeDirectQueryDataSource",
39683971
"documentation":"<p> Specifies Security Lake as a type of data source for direct queries. </p>"
3972+
},
3973+
"Prometheus":{
3974+
"shape":"PrometheusDirectQueryDataSource",
3975+
"documentation":"<p> Specifies Prometheus as a type of data source for direct queries. </p>"
39693976
}
39703977
},
39713978
"documentation":"<p> The type of data source that is used for direct queries. This is a supported Amazon Web Services service, such as CloudWatch Logs or Security Lake. </p>",
@@ -7045,6 +7052,24 @@
70457052
"AWS_SERVICE"
70467053
]
70477054
},
7055+
"PrometheusDirectQueryDataSource":{
7056+
"type":"structure",
7057+
"required":[
7058+
"RoleArn",
7059+
"WorkspaceArn"
7060+
],
7061+
"members":{
7062+
"RoleArn":{
7063+
"shape":"DirectQueryDataSourceRoleArn",
7064+
"documentation":"<p> The unique identifier of the IAM role that grants OpenSearch Service permission to access the specified data source. </p>"
7065+
},
7066+
"WorkspaceArn":{
7067+
"shape":"AMPWorkspaceArn",
7068+
"documentation":"<p> The unique identifier of the Amazon Managed Prometheus Workspace that is associated with the specified data source. </p>"
7069+
}
7070+
},
7071+
"documentation":"<p> Configuration details for a Prometheus data source that can be used for direct queries. </p>"
7072+
},
70487073
"PropertyValueType":{
70497074
"type":"string",
70507075
"enum":[
@@ -8049,8 +8074,7 @@
80498074
"type":"structure",
80508075
"required":[
80518076
"DataSourceName",
8052-
"DataSourceType",
8053-
"OpenSearchArns"
8077+
"DataSourceType"
80548078
],
80558079
"members":{
80568080
"DataSourceName":{
@@ -8069,7 +8093,7 @@
80698093
},
80708094
"OpenSearchArns":{
80718095
"shape":"DirectQueryOpenSearchARNList",
8072-
"documentation":"<p> A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source. </p>"
8096+
"documentation":"<p> An optional list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source. This field is required for CloudWatchLogs and SecurityLake datasource types. </p>"
80738097
},
80748098
"DataSourceAccessPolicy":{
80758099
"shape":"PolicyDocument",

0 commit comments

Comments
 (0)