|
245 | 245 | "documentation":"<p>The <code>DeleteScraper</code> operation deletes one scraper, and stops any metrics collection that the scraper performs.</p>", |
246 | 246 | "idempotent":true |
247 | 247 | }, |
| 248 | + "DeleteScraperLoggingConfiguration":{ |
| 249 | + "name":"DeleteScraperLoggingConfiguration", |
| 250 | + "http":{ |
| 251 | + "method":"DELETE", |
| 252 | + "requestUri":"/scrapers/{scraperId}/logging-configuration", |
| 253 | + "responseCode":202 |
| 254 | + }, |
| 255 | + "input":{"shape":"DeleteScraperLoggingConfigurationRequest"}, |
| 256 | + "errors":[ |
| 257 | + {"shape":"ConflictException"}, |
| 258 | + {"shape":"ValidationException"}, |
| 259 | + {"shape":"ResourceNotFoundException"}, |
| 260 | + {"shape":"AccessDeniedException"}, |
| 261 | + {"shape":"InternalServerException"} |
| 262 | + ], |
| 263 | + "documentation":"<p>Deletes the logging configuration for a Amazon Managed Service for Prometheus scraper.</p>", |
| 264 | + "idempotent":true |
| 265 | + }, |
248 | 266 | "DeleteWorkspace":{ |
249 | 267 | "name":"DeleteWorkspace", |
250 | 268 | "http":{ |
|
370 | 388 | ], |
371 | 389 | "documentation":"<p>The <code>DescribeScraper</code> operation displays information about an existing scraper.</p>" |
372 | 390 | }, |
| 391 | + "DescribeScraperLoggingConfiguration":{ |
| 392 | + "name":"DescribeScraperLoggingConfiguration", |
| 393 | + "http":{ |
| 394 | + "method":"GET", |
| 395 | + "requestUri":"/scrapers/{scraperId}/logging-configuration", |
| 396 | + "responseCode":200 |
| 397 | + }, |
| 398 | + "input":{"shape":"DescribeScraperLoggingConfigurationRequest"}, |
| 399 | + "output":{"shape":"DescribeScraperLoggingConfigurationResponse"}, |
| 400 | + "errors":[ |
| 401 | + {"shape":"ValidationException"}, |
| 402 | + {"shape":"ResourceNotFoundException"}, |
| 403 | + {"shape":"AccessDeniedException"}, |
| 404 | + {"shape":"InternalServerException"} |
| 405 | + ], |
| 406 | + "documentation":"<p>Describes the logging configuration for a Amazon Managed Service for Prometheus scraper.</p>" |
| 407 | + }, |
373 | 408 | "DescribeWorkspace":{ |
374 | 409 | "name":"DescribeWorkspace", |
375 | 410 | "http":{ |
|
650 | 685 | "documentation":"<p>Updates an existing scraper.</p> <p>You can't use this function to update the source from which the scraper is collecting metrics. To change the source, delete the scraper and create a new one.</p>", |
651 | 686 | "idempotent":true |
652 | 687 | }, |
| 688 | + "UpdateScraperLoggingConfiguration":{ |
| 689 | + "name":"UpdateScraperLoggingConfiguration", |
| 690 | + "http":{ |
| 691 | + "method":"PUT", |
| 692 | + "requestUri":"/scrapers/{scraperId}/logging-configuration", |
| 693 | + "responseCode":202 |
| 694 | + }, |
| 695 | + "input":{"shape":"UpdateScraperLoggingConfigurationRequest"}, |
| 696 | + "output":{"shape":"UpdateScraperLoggingConfigurationResponse"}, |
| 697 | + "errors":[ |
| 698 | + {"shape":"ConflictException"}, |
| 699 | + {"shape":"ValidationException"}, |
| 700 | + {"shape":"ResourceNotFoundException"}, |
| 701 | + {"shape":"AccessDeniedException"}, |
| 702 | + {"shape":"InternalServerException"} |
| 703 | + ], |
| 704 | + "documentation":"<p>Updates the logging configuration for a Amazon Managed Service for Prometheus scraper.</p>", |
| 705 | + "idempotent":true |
| 706 | + }, |
653 | 707 | "UpdateWorkspaceAlias":{ |
654 | 708 | "name":"UpdateWorkspaceAlias", |
655 | 709 | "http":{ |
|
796 | 850 | "documentation":"<p>The ARN of an EKS cluster.</p>", |
797 | 851 | "pattern":"arn:aws[-a-z]*:eks:[-a-z0-9]+:[0-9]{12}:cluster/.+" |
798 | 852 | }, |
| 853 | + "ComponentConfig":{ |
| 854 | + "type":"structure", |
| 855 | + "members":{ |
| 856 | + "options":{ |
| 857 | + "shape":"StringMap", |
| 858 | + "documentation":"<p>Configuration options for the scraper component.</p>" |
| 859 | + } |
| 860 | + }, |
| 861 | + "documentation":"<p>Configuration settings for a scraper component.</p>" |
| 862 | + }, |
799 | 863 | "ConflictException":{ |
800 | 864 | "type":"structure", |
801 | 865 | "required":[ |
|
1225 | 1289 | }, |
1226 | 1290 | "documentation":"<p>Represents the input of a <code>DeleteRuleGroupsNamespace</code> operation.</p>" |
1227 | 1291 | }, |
| 1292 | + "DeleteScraperLoggingConfigurationRequest":{ |
| 1293 | + "type":"structure", |
| 1294 | + "required":["scraperId"], |
| 1295 | + "members":{ |
| 1296 | + "scraperId":{ |
| 1297 | + "shape":"ScraperId", |
| 1298 | + "documentation":"<p>The ID of the scraper whose logging configuration will be deleted.</p>", |
| 1299 | + "location":"uri", |
| 1300 | + "locationName":"scraperId" |
| 1301 | + }, |
| 1302 | + "clientToken":{ |
| 1303 | + "shape":"IdempotencyToken", |
| 1304 | + "documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the request is processed exactly once.</p>", |
| 1305 | + "idempotencyToken":true, |
| 1306 | + "location":"querystring", |
| 1307 | + "locationName":"clientToken" |
| 1308 | + } |
| 1309 | + } |
| 1310 | + }, |
1228 | 1311 | "DeleteScraperRequest":{ |
1229 | 1312 | "type":"structure", |
1230 | 1313 | "required":["scraperId"], |
|
1420 | 1503 | }, |
1421 | 1504 | "documentation":"<p>Represents the output of a <code>DescribeRuleGroupsNamespace</code> operation.</p>" |
1422 | 1505 | }, |
| 1506 | + "DescribeScraperLoggingConfigurationRequest":{ |
| 1507 | + "type":"structure", |
| 1508 | + "required":["scraperId"], |
| 1509 | + "members":{ |
| 1510 | + "scraperId":{ |
| 1511 | + "shape":"ScraperId", |
| 1512 | + "documentation":"<p>The ID of the scraper whose logging configuration will be described.</p>", |
| 1513 | + "location":"uri", |
| 1514 | + "locationName":"scraperId" |
| 1515 | + } |
| 1516 | + } |
| 1517 | + }, |
| 1518 | + "DescribeScraperLoggingConfigurationResponse":{ |
| 1519 | + "type":"structure", |
| 1520 | + "required":[ |
| 1521 | + "status", |
| 1522 | + "scraperId", |
| 1523 | + "loggingDestination", |
| 1524 | + "scraperComponents", |
| 1525 | + "modifiedAt" |
| 1526 | + ], |
| 1527 | + "members":{ |
| 1528 | + "status":{ |
| 1529 | + "shape":"ScraperLoggingConfigurationStatus", |
| 1530 | + "documentation":"<p>The status of the scraper logging configuration.</p>" |
| 1531 | + }, |
| 1532 | + "scraperId":{ |
| 1533 | + "shape":"ScraperId", |
| 1534 | + "documentation":"<p>The ID of the scraper.</p>" |
| 1535 | + }, |
| 1536 | + "loggingDestination":{ |
| 1537 | + "shape":"ScraperLoggingDestination", |
| 1538 | + "documentation":"<p>The destination where scraper logs are sent.</p>" |
| 1539 | + }, |
| 1540 | + "scraperComponents":{ |
| 1541 | + "shape":"ScraperComponents", |
| 1542 | + "documentation":"<p>The list of scraper components configured for logging.</p>" |
| 1543 | + }, |
| 1544 | + "modifiedAt":{ |
| 1545 | + "shape":"Timestamp", |
| 1546 | + "documentation":"<p>The date and time when the logging configuration was last modified.</p>" |
| 1547 | + } |
| 1548 | + } |
| 1549 | + }, |
1423 | 1550 | "DescribeScraperRequest":{ |
1424 | 1551 | "type":"structure", |
1425 | 1552 | "required":["scraperId"], |
|
1544 | 1671 | }, |
1545 | 1672 | "GetDefaultScraperConfigurationRequest":{ |
1546 | 1673 | "type":"structure", |
1547 | | - "members":{ |
1548 | | - }, |
| 1674 | + "members":{}, |
1549 | 1675 | "documentation":"<p>Represents the input of a <code>GetDefaultScraperConfiguration</code> operation.</p>" |
1550 | 1676 | }, |
1551 | 1677 | "GetDefaultScraperConfigurationResponse":{ |
|
2221 | 2347 | "RuleGroupsNamespaceName":{ |
2222 | 2348 | "type":"string", |
2223 | 2349 | "documentation":"<p>The name of the namespace that the rule group belong to.</p>", |
2224 | | - "max":64, |
| 2350 | + "max":128, |
2225 | 2351 | "min":1, |
2226 | 2352 | "pattern":".*[0-9A-Za-z][-.0-9A-Z_a-z]*.*" |
2227 | 2353 | }, |
|
2316 | 2442 | "type":"string", |
2317 | 2443 | "documentation":"<p>An ARN identifying a scrape configuration.</p>" |
2318 | 2444 | }, |
| 2445 | + "ScraperComponent":{ |
| 2446 | + "type":"structure", |
| 2447 | + "required":["type"], |
| 2448 | + "members":{ |
| 2449 | + "type":{ |
| 2450 | + "shape":"ScraperComponentType", |
| 2451 | + "documentation":"<p>The type of the scraper component.</p>" |
| 2452 | + }, |
| 2453 | + "config":{ |
| 2454 | + "shape":"ComponentConfig", |
| 2455 | + "documentation":"<p>The configuration settings for the scraper component.</p>" |
| 2456 | + } |
| 2457 | + }, |
| 2458 | + "documentation":"<p>A component of a Amazon Managed Service for Prometheus scraper that can be configured for logging.</p>" |
| 2459 | + }, |
| 2460 | + "ScraperComponentType":{ |
| 2461 | + "type":"string", |
| 2462 | + "enum":[ |
| 2463 | + "SERVICE_DISCOVERY", |
| 2464 | + "COLLECTOR", |
| 2465 | + "EXPORTER" |
| 2466 | + ] |
| 2467 | + }, |
| 2468 | + "ScraperComponents":{ |
| 2469 | + "type":"list", |
| 2470 | + "member":{"shape":"ScraperComponent"}, |
| 2471 | + "min":1 |
| 2472 | + }, |
2319 | 2473 | "ScraperDescription":{ |
2320 | 2474 | "type":"structure", |
2321 | 2475 | "required":[ |
|
2406 | 2560 | "min":1, |
2407 | 2561 | "pattern":"[0-9A-Za-z][-.0-9A-Z_a-z]*" |
2408 | 2562 | }, |
| 2563 | + "ScraperLoggingConfigurationStatus":{ |
| 2564 | + "type":"structure", |
| 2565 | + "required":["statusCode"], |
| 2566 | + "members":{ |
| 2567 | + "statusCode":{ |
| 2568 | + "shape":"ScraperLoggingConfigurationStatusCode", |
| 2569 | + "documentation":"<p>The status code of the scraper logging configuration.</p>" |
| 2570 | + }, |
| 2571 | + "statusReason":{ |
| 2572 | + "shape":"String", |
| 2573 | + "documentation":"<p>The reason for the current status of the scraper logging configuration.</p>" |
| 2574 | + } |
| 2575 | + }, |
| 2576 | + "documentation":"<p>The status of a scraper logging configuration.</p>" |
| 2577 | + }, |
| 2578 | + "ScraperLoggingConfigurationStatusCode":{ |
| 2579 | + "type":"string", |
| 2580 | + "enum":[ |
| 2581 | + "CREATING", |
| 2582 | + "ACTIVE", |
| 2583 | + "UPDATING", |
| 2584 | + "DELETING", |
| 2585 | + "CREATION_FAILED", |
| 2586 | + "UPDATE_FAILED" |
| 2587 | + ] |
| 2588 | + }, |
| 2589 | + "ScraperLoggingDestination":{ |
| 2590 | + "type":"structure", |
| 2591 | + "members":{ |
| 2592 | + "cloudWatchLogs":{ |
| 2593 | + "shape":"CloudWatchLogDestination", |
| 2594 | + "documentation":"<p>The CloudWatch Logs configuration for the scraper logging destination.</p>" |
| 2595 | + } |
| 2596 | + }, |
| 2597 | + "documentation":"<p>The destination where scraper logs are sent.</p>", |
| 2598 | + "union":true |
| 2599 | + }, |
2409 | 2600 | "ScraperStatus":{ |
2410 | 2601 | "type":"structure", |
2411 | 2602 | "required":["statusCode"], |
|
2569 | 2760 | "min":1 |
2570 | 2761 | }, |
2571 | 2762 | "String":{"type":"string"}, |
| 2763 | + "StringMap":{ |
| 2764 | + "type":"map", |
| 2765 | + "key":{"shape":"String"}, |
| 2766 | + "value":{"shape":"String"} |
| 2767 | + }, |
2572 | 2768 | "SubnetId":{ |
2573 | 2769 | "type":"string", |
2574 | 2770 | "documentation":"<p>ID of a VPC subnet.</p>", |
|
2628 | 2824 | }, |
2629 | 2825 | "TagResourceResponse":{ |
2630 | 2826 | "type":"structure", |
2631 | | - "members":{ |
2632 | | - } |
| 2827 | + "members":{} |
2633 | 2828 | }, |
2634 | 2829 | "TagValue":{ |
2635 | 2830 | "type":"string", |
|
2692 | 2887 | }, |
2693 | 2888 | "UntagResourceResponse":{ |
2694 | 2889 | "type":"structure", |
2695 | | - "members":{ |
2696 | | - } |
| 2890 | + "members":{} |
2697 | 2891 | }, |
2698 | 2892 | "UpdateLoggingConfigurationRequest":{ |
2699 | 2893 | "type":"structure", |
|
2765 | 2959 | } |
2766 | 2960 | } |
2767 | 2961 | }, |
| 2962 | + "UpdateScraperLoggingConfigurationRequest":{ |
| 2963 | + "type":"structure", |
| 2964 | + "required":[ |
| 2965 | + "scraperId", |
| 2966 | + "loggingDestination" |
| 2967 | + ], |
| 2968 | + "members":{ |
| 2969 | + "scraperId":{ |
| 2970 | + "shape":"ScraperId", |
| 2971 | + "documentation":"<p>The ID of the scraper whose logging configuration will be updated.</p>", |
| 2972 | + "location":"uri", |
| 2973 | + "locationName":"scraperId" |
| 2974 | + }, |
| 2975 | + "loggingDestination":{ |
| 2976 | + "shape":"ScraperLoggingDestination", |
| 2977 | + "documentation":"<p>The destination where scraper logs will be sent.</p>" |
| 2978 | + }, |
| 2979 | + "scraperComponents":{ |
| 2980 | + "shape":"ScraperComponents", |
| 2981 | + "documentation":"<p>The list of scraper components to configure for logging.</p>" |
| 2982 | + } |
| 2983 | + } |
| 2984 | + }, |
| 2985 | + "UpdateScraperLoggingConfigurationResponse":{ |
| 2986 | + "type":"structure", |
| 2987 | + "required":["status"], |
| 2988 | + "members":{ |
| 2989 | + "status":{ |
| 2990 | + "shape":"ScraperLoggingConfigurationStatus", |
| 2991 | + "documentation":"<p>The status of the updated scraper logging configuration.</p>" |
| 2992 | + } |
| 2993 | + } |
| 2994 | + }, |
2768 | 2995 | "UpdateScraperRequest":{ |
2769 | 2996 | "type":"structure", |
2770 | 2997 | "required":["scraperId"], |
|
0 commit comments