|
800 | 800 | "shape":"Destination",
|
801 | 801 | "documentation":"<p>The Amazon Managed Service for Prometheus workspace to send metrics to.</p>"
|
802 | 802 | },
|
| 803 | + "roleConfiguration":{ |
| 804 | + "shape":"RoleConfiguration", |
| 805 | + "documentation":"<p>The scraper role configuration for the workspace.</p>" |
| 806 | + }, |
803 | 807 | "scrapeConfiguration":{
|
804 | 808 | "shape":"ScrapeConfiguration",
|
805 | 809 | "documentation":"<p>The configuration file to use in the new scraper. For more information, see <a href=\"https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration\">Scraper configuration</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p>"
|
|
1223 | 1227 | },
|
1224 | 1228 | "IamRoleArn":{
|
1225 | 1229 | "type":"string",
|
1226 |
| - "documentation":"<p>An ARN identifying an IAM role used by the scraper.</p>" |
| 1230 | + "documentation":"<p>An ARN identifying an IAM role used by the scraper.</p>", |
| 1231 | + "pattern":"^arn:aws[-a-z]*:iam::[0-9]{12}:role/.+$" |
1227 | 1232 | },
|
1228 | 1233 | "IdempotencyToken":{
|
1229 | 1234 | "type":"string",
|
|
1262 | 1267 | "documentation":"<p>A KMS Key ARN.</p>",
|
1263 | 1268 | "max":2048,
|
1264 | 1269 | "min":20,
|
1265 |
| - "pattern":"^arn:aws:kms:[a-z0-9\\-]+:\\d+:key/[a-f0-9\\-]+$" |
| 1270 | + "pattern":"^arn:aws[-a-z]*:kms:[-a-z0-9]+:[0-9]{12}:key/[-a-f0-9]+$" |
1266 | 1271 | },
|
1267 | 1272 | "ListRuleGroupsNamespacesRequest":{
|
1268 | 1273 | "type":"structure",
|
|
1428 | 1433 | },
|
1429 | 1434 | "LogGroupArn":{
|
1430 | 1435 | "type":"string",
|
1431 |
| - "pattern":"^arn:aws[a-z0-9-]*:logs:[a-z0-9-]+:\\d{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*$" |
| 1436 | + "pattern":"^arn:aws[-a-z]*:logs:[-a-z0-9]+:[0-9]{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*$" |
1432 | 1437 | },
|
1433 | 1438 | "LoggingConfigurationMetadata":{
|
1434 | 1439 | "type":"structure",
|
|
1619 | 1624 | },
|
1620 | 1625 | "exception":true
|
1621 | 1626 | },
|
| 1627 | + "RoleConfiguration":{ |
| 1628 | + "type":"structure", |
| 1629 | + "members":{ |
| 1630 | + "sourceRoleArn":{ |
| 1631 | + "shape":"IamRoleArn", |
| 1632 | + "documentation":"<p>A ARN identifying the source role configuration.</p>" |
| 1633 | + }, |
| 1634 | + "targetRoleArn":{ |
| 1635 | + "shape":"IamRoleArn", |
| 1636 | + "documentation":"<p>A ARN identifying the target role configuration.</p>" |
| 1637 | + } |
| 1638 | + }, |
| 1639 | + "documentation":"<p>To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.</p>" |
| 1640 | + }, |
1622 | 1641 | "RuleGroupsNamespaceArn":{
|
1623 | 1642 | "type":"string",
|
1624 | 1643 | "documentation":"<p>An ARN identifying a rule groups namespace.</p>"
|
|
1805 | 1824 | "shape":"IamRoleArn",
|
1806 | 1825 | "documentation":"<p>The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf.</p> <p>For example, <code>arn:aws:iam::123456789012:role/service-role/AmazonGrafanaServiceRole-12example</code>.</p>"
|
1807 | 1826 | },
|
| 1827 | + "roleConfiguration":{"shape":"RoleConfiguration"}, |
1808 | 1828 | "scrapeConfiguration":{
|
1809 | 1829 | "shape":"ScrapeConfiguration",
|
1810 | 1830 | "documentation":"<p>The configuration in use by the scraper.</p>"
|
|
1914 | 1934 | "shape":"IamRoleArn",
|
1915 | 1935 | "documentation":"<p>The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf.</p>"
|
1916 | 1936 | },
|
| 1937 | + "roleConfiguration":{"shape":"RoleConfiguration"}, |
1917 | 1938 | "scraperId":{
|
1918 | 1939 | "shape":"ScraperId",
|
1919 | 1940 | "documentation":"<p>The ID of the scraper.</p>"
|
|
2191 | 2212 | "shape":"Destination",
|
2192 | 2213 | "documentation":"<p>The new Amazon Managed Service for Prometheus workspace to send metrics to.</p>"
|
2193 | 2214 | },
|
| 2215 | + "roleConfiguration":{ |
| 2216 | + "shape":"RoleConfiguration", |
| 2217 | + "documentation":"<p>The scraper role configuration for the workspace.</p>" |
| 2218 | + }, |
2194 | 2219 | "scrapeConfiguration":{
|
2195 | 2220 | "shape":"ScrapeConfiguration",
|
2196 | 2221 | "documentation":"<p>Contains the base-64 encoded YAML configuration for the scraper.</p> <note> <p>For more information about configuring a scraper, see <a href=\"https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html\">Using an Amazon Web Services managed collector</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p> </note>"
|
|
0 commit comments