|
1457 | 1457 | }, |
1458 | 1458 | "documentation":"<p>The status of machine learning options on the specified domain.</p>" |
1459 | 1459 | }, |
| 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 | + }, |
1460 | 1464 | "ARN":{ |
1461 | 1465 | "type":"string", |
1462 | 1466 | "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 | 1613 | "type":"structure", |
1610 | 1614 | "required":[ |
1611 | 1615 | "DataSourceName", |
1612 | | - "DataSourceType", |
1613 | | - "OpenSearchArns" |
| 1616 | + "DataSourceType" |
1614 | 1617 | ], |
1615 | 1618 | "members":{ |
1616 | 1619 | "DataSourceName":{ |
|
1627 | 1630 | }, |
1628 | 1631 | "OpenSearchArns":{ |
1629 | 1632 | "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>" |
1631 | 1634 | }, |
1632 | 1635 | "DataSourceAccessPolicy":{ |
1633 | 1636 | "shape":"PolicyDocument", |
|
3966 | 3969 | "SecurityLake":{ |
3967 | 3970 | "shape":"SecurityLakeDirectQueryDataSource", |
3968 | 3971 | "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>" |
3969 | 3976 | } |
3970 | 3977 | }, |
3971 | 3978 | "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 | 7052 | "AWS_SERVICE" |
7046 | 7053 | ] |
7047 | 7054 | }, |
| 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 | + }, |
7048 | 7073 | "PropertyValueType":{ |
7049 | 7074 | "type":"string", |
7050 | 7075 | "enum":[ |
|
8049 | 8074 | "type":"structure", |
8050 | 8075 | "required":[ |
8051 | 8076 | "DataSourceName", |
8052 | | - "DataSourceType", |
8053 | | - "OpenSearchArns" |
| 8077 | + "DataSourceType" |
8054 | 8078 | ], |
8055 | 8079 | "members":{ |
8056 | 8080 | "DataSourceName":{ |
|
8069 | 8093 | }, |
8070 | 8094 | "OpenSearchArns":{ |
8071 | 8095 | "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>" |
8073 | 8097 | }, |
8074 | 8098 | "DataSourceAccessPolicy":{ |
8075 | 8099 | "shape":"PolicyDocument", |
|
0 commit comments